From 0d344e6cae0173da9321a4f2651386967204d179 Mon Sep 17 00:00:00 2001 From: Alexander Todorov Date: Mon, 11 Nov 2019 15:17:41 +0200 Subject: [PATCH] tests: restart composer after adding optional reporsitory b/c live-iso needs grub2-efi-*-cdboot from Optional Related: rhbz#1770193 --- tests/cli/test_compose_live-iso.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/cli/test_compose_live-iso.sh b/tests/cli/test_compose_live-iso.sh index 16e47a3c..ac369641 100755 --- a/tests/cli/test_compose_live-iso.sh +++ b/tests/cli/test_compose_live-iso.sh @@ -19,7 +19,8 @@ rlJournalStart OPTIONAL_REPO="/etc/yum.repos.d/rhel7-rel-eng-optional.repo" if [ ! -f "$OPTIONAL_REPO" ]; then - cat > $OPTIONAL_REPO << __EOF__ + composer_stop + cat > $OPTIONAL_REPO << __EOF__ [rhel7-rel-eng-optional] gpgcheck=0 enabled=1 @@ -27,8 +28,8 @@ skip_if_unavailable=0 name=rhel7-rel-eng-optional baseurl=http://download-node-02.eng.bos.redhat.com/rhel-7/rel-eng/latest-RHEL-7/compose/Server-optional/\$basearch/os/ __EOF__ + composer_start fi - rlPhaseEnd rlPhaseStartTest "compose start"