Skip to content

Commit

Permalink
Merge pull request containers#16452 from hshiina/remote-test
Browse files Browse the repository at this point in the history
Skip test if `--events-backend` is necessary with podman-remote
  • Loading branch information
openshift-merge-robot authored Nov 9, 2022
2 parents 757fdca + 314cba2 commit 7f91b92
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/system/035-logs.bats
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ ${cid[0]} d" "Sequential output from logs"
function _log_test_restarted() {
local driver=$1
local events_backend=$(_additional_events_backend $driver)
if [[ -n "${events_backend}" ]]; then
skip_if_remote "remote does not support --events-backend"
fi
run_podman run --log-driver=$driver ${events_backend} --name logtest $IMAGE sh -c 'start=0; if test -s log; then start=`tail -n 1 log`; fi; seq `expr $start + 1` `expr $start + 10` | tee -a log'
# FIXME: #9597
# run/start is flaking for remote so let's wait for the container condition
Expand Down

0 comments on commit 7f91b92

Please sign in to comment.