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:
parent
de3f548025
commit
359b99a178
@ -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"
|
||||||
|
if [ "$BACKEND" == "lorax-composer" ]; then
|
||||||
rlRun -t -c "$CLI compose info $UUID" 1 "compose is canceled"
|
rlRun -t -c "$CLI compose info $UUID" 1 "compose is canceled"
|
||||||
|
fi
|
||||||
rlPhaseEnd
|
rlPhaseEnd
|
||||||
|
|
||||||
rlPhaseStartTest "compose start again"
|
rlPhaseStartTest "compose start again"
|
||||||
|
Loading…
Reference in New Issue
Block a user