diff options
author | Joffrey F <joffrey@docker.com> | 2015-12-23 13:01:05 -0800 |
---|---|---|
committer | Joffrey F <joffrey@docker.com> | 2015-12-23 13:01:05 -0800 |
commit | 8b322aea2b609da085389c5772c1385341afb5cc (patch) | |
tree | 878dfb6187f5313cd6cce13eae3d97a42386a589 | |
parent | 3ff27a8f5c5d1f33daaa7dc852f070c557e206ad (diff) | |
download | docker-py-stop_test_update.tar.gz |
Don't expect non-zero exit code when stopping a containerstop_test_update
Signed-off-by: Joffrey F <joffrey@docker.com>
-rw-r--r-- | tests/integration/container_test.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/integration/container_test.py b/tests/integration/container_test.py index 79840a1..e1fd443 100644 --- a/tests/integration/container_test.py +++ b/tests/integration/container_test.py @@ -750,9 +750,6 @@ class StopTest(helpers.BaseTestCase): container_info = self.client.inspect_container(id) self.assertIn('State', container_info) state = container_info['State'] - self.assertIn('ExitCode', state) - if helpers.exec_driver_is_native(): - self.assertNotEqual(state['ExitCode'], 0) self.assertIn('Running', state) self.assertEqual(state['Running'], False) @@ -766,9 +763,6 @@ class StopTest(helpers.BaseTestCase): container_info = self.client.inspect_container(id) self.assertIn('State', container_info) state = container_info['State'] - self.assertIn('ExitCode', state) - if helpers.exec_driver_is_native(): - self.assertNotEqual(state['ExitCode'], 0) self.assertIn('Running', state) self.assertEqual(state['Running'], False) |