diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2021-05-25 10:43:49 -0400 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2021-05-25 15:28:03 -0400 |
commit | ee5dd06035eff9765c739228fb6b9a2cc0a2bf5b (patch) | |
tree | 3b4e0e814b42e9750e2b40cccf20c61b0b7793fd /test/system | |
parent | 6c9de93823344fc33f6bf1be1039ce7654a5422f (diff) | |
download | podman-ee5dd06035eff9765c739228fb6b9a2cc0a2bf5b.tar.gz podman-ee5dd06035eff9765c739228fb6b9a2cc0a2bf5b.tar.bz2 podman-ee5dd06035eff9765c739228fb6b9a2cc0a2bf5b.zip |
Fix race on podman start --all
Make sure all containers exit after start
There is a race condition in that container could still be running when
we attempt to remove them.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'test/system')
-rw-r--r-- | test/system/045-start.bats | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/system/045-start.bats b/test/system/045-start.bats index 542f9d1c2..3e0118dba 100644 --- a/test/system/045-start.bats +++ b/test/system/045-start.bats @@ -25,6 +25,8 @@ load helpers die "podman start --all restarted a running container" fi + run_podman wait $cid_none_implicit $cid_none_explicit $cid_on_failure + run_podman rm $cid_none_implicit $cid_none_explicit $cid_on_failure run_podman stop -t 1 $cid_always run_podman rm $cid_always |