Merge pull request #11086 from hshiina/update-test

Fix auto-update system test for older systemd
This commit is contained in:
openshift-ci[bot] 2021-07-31 16:57:16 +00:00 committed by GitHub
commit 5733cd222e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -261,7 +261,8 @@ EOF
systemctl enable --now podman-auto-update-$cname.timer
systemctl list-timers --all
local expect='Finished Podman auto-update testing service'
# While systemd v245 and later uses 'Finished', older versions uses 'Started' for oneshot services
local expect='(Finished|Started) Podman auto-update testing service'
local failed_start=failed
local count=0
while [ $count -lt 120 ]; do