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

Cherry-picked from 27c4c67a59

Related: rhbz#1825190
This commit is contained in:
Alexander Todorov 2020-07-15 10:49:43 +03:00 committed by Brian C. Lane
parent de3f548025
commit 359b99a178

View File

@ -71,7 +71,9 @@ rlJournalStart
rlPhaseStartTest "cancel compose" rlPhaseStartTest "cancel compose"
rlRun -t -c "$CLI compose cancel $UUID" 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 rlPhaseEnd
rlPhaseStartTest "compose start again" rlPhaseStartTest "compose start again"