mirror of
https://github.com/containers/podman.git
synced 2025-06-25 03:52:15 +08:00
Merge pull request #14818 from rhatdan/wait
podman wait can take multiple conditions
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user