From afbfc703caaeff7ccd21c913b91716bb5b6aa281 Mon Sep 17 00:00:00 2001 From: Deni Bertovic Date: Thu, 3 Oct 2013 11:48:18 +0200 Subject: [PATCH] integration test fix make the mount point for shared.txt reside in the /tmp/ folder because if it resides in the lib folder docker sets the owner of the folder as root inside the container so then when the container exists the test fails to cleanup and remove the shared.txt file, and breaks git as well. --- tests/integration_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration_test.py b/tests/integration_test.py index 295a2500..8130c3d6 100644 --- a/tests/integration_test.py +++ b/tests/integration_test.py @@ -131,7 +131,7 @@ class TestCreateContainer(BaseTestCase): class TestCreateContainerWithBinds(BaseTestCase): def runTest(self): mount_dest = '/mnt' - mount_origin = os.getcwd() + mount_origin = '/tmp' filename = 'shared.txt' shared_file = os.path.join(mount_origin, filename)