tests: check for failed compose before trying to cancel
This was suggested and added to rhel8-branch so adding it here as well.
This commit is contained in:
parent
887fb6ce35
commit
ca876483db
@ -34,6 +34,10 @@ rlJournalStart
|
||||
until $CLI compose info $UUID | grep 'RUNNING'; do
|
||||
sleep 20
|
||||
rlLogInfo "Waiting for compose to start running..."
|
||||
if $CLI compose info $UUID | grep 'FAILED'; then
|
||||
rlFail "Compose FAILED!"
|
||||
break
|
||||
fi
|
||||
done;
|
||||
else
|
||||
rlFail "Compose UUID is empty!"
|
||||
|
Loading…
Reference in New Issue
Block a user