From d162e4df1638c58c74d1ce4c50a903a5bab004dc Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Sat, 10 Mar 2018 11:01:35 -0800 Subject: [PATCH] Disable 'updates' repo for Branched update tests This works around RHBZ #1552814, and it's not incorrect really because the repo is always empty for Branched. I didn't do it before because we might theoretically start using the repo for Branched at some point in the future, and if we did that we'd probably want it enabled for this test. But to get F28 update tests working, let's just turn it off for now. Signed-off-by: Adam Williamson --- lib/utils.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/utils.pm b/lib/utils.pm index f17b0762..f1e03817 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -371,6 +371,10 @@ sub _repo_setup_updates { assert_script_run "sed -i -e 's,/releases/,/development/,g' /etc/yum.repos.d/fedora.repo"; # Disable updates-testing so other bad updates don't break us assert_script_run "dnf config-manager --set-disabled updates-testing"; + # https://bugzilla.redhat.com/show_bug.cgi?id=1552814 + # this is the easiest workaround, it's not wrong as the repo + # is empty for branched anyway + assert_script_run "dnf config-manager --set-disabled updates"; } # Set up an additional repo containing the update packages. We do # this rather than simply running a one-time update because it may