From 83930a03c5829edfb3a054d3ed169ff64284b953 Mon Sep 17 00:00:00 2001 From: Ed Santiago Date: Wed, 14 Apr 2021 08:09:20 -0600 Subject: System tests: fix racy podman-inspect Add 'podman wait' between kill & inspect. Fixes: #9751 Signed-off-by: Ed Santiago --- test/system/050-stop.bats | 1 + 1 file changed, 1 insertion(+) (limited to 'test/system/050-stop.bats') diff --git a/test/system/050-stop.bats b/test/system/050-stop.bats index 0652a97e4..a9495e350 100644 --- a/test/system/050-stop.bats +++ b/test/system/050-stop.bats @@ -132,6 +132,7 @@ load helpers is "$output" "stopping" "Status of container should be 'stopping'" run_podman kill stopme + run_podman wait stopme # Exit code should be 137 as it was killed run_podman inspect --format '{{.State.ExitCode}}' stopme -- cgit v1.2.3-54-g00ecf