aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/python/podman/test/test_pods_ctnrs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/python/podman/test/test_pods_ctnrs.py b/contrib/python/podman/test/test_pods_ctnrs.py
index c5733091c..14ce95c8a 100644
--- a/contrib/python/podman/test/test_pods_ctnrs.py
+++ b/contrib/python/podman/test/test_pods_ctnrs.py
@@ -46,11 +46,11 @@ class TestPodsCtnrs(PodmanTestCase):
pod = pod.start()
status = FoldedString(pod.containersinfo[0]['status'])
# Race on whether container is still running or finished
- self.assertIn(status, ('exited', 'running'))
+ self.assertIn(status, ('stopped', 'exited', 'running'))
pod = pod.restart()
status = FoldedString(pod.containersinfo[0]['status'])
- self.assertIn(status, ('exited', 'running'))
+ self.assertIn(status, ('stopped', 'exited', 'running'))
killed = pod.kill()
self.assertEqual(pod, killed)