Skip to content

Commit 3a98b6d

Browse files
test: Wait for killed container to avoid leak
Signed-off-by: Ricardo Branco <[email protected]>
1 parent 77dd165 commit 3a98b6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/system/130-kill.bats

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ load helpers
114114
run_podman run --rm -d --name $cname $IMAGE top
115115
run_podman kill $cname
116116
is "$output" $cname
117+
run_podman ? wait $cname
117118
}
118119

119120
# bats test_tags=ci:parallel

0 commit comments

Comments
 (0)