Merge pull request #27233 from Luap99/test-fix

test/system: two small fixes
This commit is contained in:
openshift-merge-bot[bot]
2025-10-06 18:00:40 +00:00
committed by GitHub
2 changed files with 4 additions and 2 deletions

View File

@ -1638,7 +1638,7 @@ search | $IMAGE |
"$command --authfile=nonexistent-path"
if [[ "$command" != "logout" ]]; then
REGISTRY_AUTH_FILE=$bogus run_podman ? $command $args
REGISTRY_AUTH_FILE=$bogus run_podman '?' $command $args
assert "$output" !~ "credential file is not accessible" \
"$command REGISTRY_AUTH_FILE=nonexistent-path"

View File

@ -114,7 +114,9 @@ load helpers
run_podman run --rm -d --name $cname $IMAGE top
run_podman kill $cname
is "$output" $cname
run_podman ? wait $cname
# Wait for the container to get removed to avoid the leak check from triggering,
# since it might have already been removed here ignore the exit code check.
run_podman '?' wait --condition=removing $cname
}
# bats test_tags=ci:parallel