diff options
author | Joffrey F <joffrey@docker.com> | 2015-06-24 22:58:56 +0200 |
---|---|---|
committer | Joffrey F <joffrey@docker.com> | 2015-06-24 22:58:56 +0200 |
commit | 30fac5b8799a50fbe837a674de15408c001f3f0e (patch) | |
tree | 89694b0f24797220bb4717cd6ba504bc602464d5 /tests/integration_test.py | |
parent | 772262fed0020621f5c589eb4a8688caf59af0db (diff) | |
download | docker-py-fix_649.tar.gz |
Fix stop timeout bugfix_649
Diffstat (limited to 'tests/integration_test.py')
-rw-r--r-- | tests/integration_test.py | 5 |
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) |