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 |
1638
1638
" $command --authfile=nonexistent-path"
1639
1639
1640
1640
if [[ " $command " != " logout" ]]; then
1641
- REGISTRY_AUTH_FILE=$bogus run_podman ? $command $args
1641
+ REGISTRY_AUTH_FILE=$bogus run_podman ' ? ' $command $args
1642
1642
assert " $output " ! ~ " credential file is not accessible" \
1643
1643
" $command REGISTRY_AUTH_FILE=nonexistent-path"
1644
1644
Original file line number Diff line number Diff line change @@ -114,7 +114,9 @@ load helpers
114
114
run_podman run --rm -d --name $cname $IMAGE top
115
115
run_podman kill $cname
116
116
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
118
120
}
119
121
120
122
# bats test_tags=ci:parallel
You can’t perform that action at this time.
0 commit comments