Merge pull request #14818 from rhatdan/wait

podman wait can take multiple conditions
This commit is contained in:
openshift-ci[bot]
2022-07-11 08:06:58 +00:00
committed by GitHub
4 changed files with 17 additions and 20 deletions

View File

@ -124,7 +124,7 @@ function _log_test_restarted() {
# FIXME: #9597
# run/start is flaking for remote so let's wait for the container condition
# to stop wasting energy until the root cause gets fixed.
run_podman container wait --condition=exited logtest
run_podman container wait --condition=exited --condition=stopped logtest
run_podman ${events_backend} start -a logtest
logfile=$(mktemp -p ${PODMAN_TMPDIR} logfileXXXXXXXX)
$PODMAN $_PODMAN_TEST_OPTS ${events_backend} logs -f logtest > $logfile