File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1638,7 +1638,7 @@ search | $IMAGE |
16381638 " $command --authfile=nonexistent-path"
16391639
16401640 if [[ " $command " != " logout" ]]; then
1641- REGISTRY_AUTH_FILE=$bogus run_podman ? $command $args
1641+ REGISTRY_AUTH_FILE=$bogus run_podman ' ? ' $command $args
16421642 assert " $output " ! ~ " credential file is not accessible" \
16431643 " $command REGISTRY_AUTH_FILE=nonexistent-path"
16441644
Original file line number Diff line number Diff line change @@ -114,7 +114,9 @@ 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
117+ # Wait for the container to get removed to avoid the leak check from triggering,
118+ # since it might have already been removed here ignore the exit code check.
119+ run_podman ' ?' wait --condition=removing $cname
118120}
119121
120122# bats test_tags=ci:parallel
You can’t perform that action at this time.
0 commit comments