summaryrefslogtreecommitdiff
path: root/test/system/045-start.bats
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2021-05-25 10:43:49 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2021-05-25 10:53:07 -0400
commite6a3d6aaccecb86baf9cf3f0788bd1c8497820df (patch)
tree0f318f9ed86e101778e7dc6598bff5ec9dc7e4bb /test/system/045-start.bats
parent9ab3fd876d832ffe881862818dea867d9e06cbe6 (diff)
downloadpodman-e6a3d6aaccecb86baf9cf3f0788bd1c8497820df.tar.gz
podman-e6a3d6aaccecb86baf9cf3f0788bd1c8497820df.tar.bz2
podman-e6a3d6aaccecb86baf9cf3f0788bd1c8497820df.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/045-start.bats')
-rw-r--r--test/system/045-start.bats2
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