From e6a3d6aaccecb86baf9cf3f0788bd1c8497820df Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Tue, 25 May 2021 10:43:49 -0400 Subject: 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 --- test/system/045-start.bats | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') 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 -- cgit v1.2.3-54-g00ecf