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:
parent
04bc5e9e86
commit
27c4c67a59
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user