mirror of https://github.com/docker/docker-py.git
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.
This commit is contained in:
parent
1ce8dc962c
commit
afbfc703ca
|
@ -131,7 +131,7 @@ class TestCreateContainer(BaseTestCase):
|
||||||
class TestCreateContainerWithBinds(BaseTestCase):
|
class TestCreateContainerWithBinds(BaseTestCase):
|
||||||
def runTest(self):
|
def runTest(self):
|
||||||
mount_dest = '/mnt'
|
mount_dest = '/mnt'
|
||||||
mount_origin = os.getcwd()
|
mount_origin = '/tmp'
|
||||||
|
|
||||||
filename = 'shared.txt'
|
filename = 'shared.txt'
|
||||||
shared_file = os.path.join(mount_origin, filename)
|
shared_file = os.path.join(mount_origin, filename)
|
||||||
|
|
Loading…
Reference in New Issue