summaryrefslogtreecommitdiff
path: root/tests/integration_test.py
diff options
context:
space:
mode:
authorJoffrey F <joffrey@docker.com>2015-06-24 22:58:56 +0200
committerJoffrey F <joffrey@docker.com>2015-06-24 22:58:56 +0200
commit30fac5b8799a50fbe837a674de15408c001f3f0e (patch)
tree89694b0f24797220bb4717cd6ba504bc602464d5 /tests/integration_test.py
parent772262fed0020621f5c589eb4a8688caf59af0db (diff)
downloaddocker-py-fix_649.tar.gz
Fix stop timeout bugfix_649
Diffstat (limited to 'tests/integration_test.py')
-rw-r--r--tests/integration_test.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/integration_test.py b/tests/integration_test.py
index c9ab140..4b9869e 100644
--- a/tests/integration_test.py
+++ b/tests/integration_test.py
@@ -1467,6 +1467,11 @@ class TestRegressions(BaseTestCase):
result = self.client.containers(all=True, trunc=True)
self.assertEqual(len(result[0]['Id']), 12)
+ def test_649(self):
+ self.client.timeout = None
+ ctnr = self.client.create_container('busybox', ['sleep', '2'])
+ self.client.start(ctnr)
+ self.client.stop(ctnr)
if __name__ == '__main__':
c = docker.Client(base_url=DEFAULT_BASE_URL)