tests: Don't check info after compose cancel with osbuild-composer

osbuild-composer doesn't remove cancelled composes and even if we
wait for the cancellation to take place the UUID is still there
and `compose info` returns an exit code of 0 instead of 1
This commit is contained in:
Alexander Todorov 2020-07-15 10:49:43 +03:00 committed by Brian C. Lane
parent 04bc5e9e86
commit 27c4c67a59

View File

@ -71,7 +71,9 @@ rlJournalStart
rlPhaseStartTest "cancel compose"
rlRun -t -c "$CLI compose cancel $UUID"
rlRun -t -c "$CLI compose info $UUID" 1 "compose is canceled"
if [ "$BACKEND" == "lorax-composer" ]; then
rlRun -t -c "$CLI compose info $UUID" 1 "compose is canceled"
fi
rlPhaseEnd
rlPhaseStartTest "compose start again"