mirror of https://github.com/containers/podman.git
Fix python tests
Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
This commit is contained in:
parent
b7c5fa70ab
commit
978aac6650
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue