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 <awilliam@redhat.com>
This commit is contained in:
parent
7c1f59cfe8
commit
d162e4df16
@ -371,6 +371,10 @@ sub _repo_setup_updates {
|
|||||||
assert_script_run "sed -i -e 's,/releases/,/development/,g' /etc/yum.repos.d/fedora.repo";
|
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
|
# Disable updates-testing so other bad updates don't break us
|
||||||
assert_script_run "dnf config-manager --set-disabled updates-testing";
|
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
|
# Set up an additional repo containing the update packages. We do
|
||||||
# this rather than simply running a one-time update because it may
|
# this rather than simply running a one-time update because it may
|
||||||
|
Loading…
Reference in New Issue
Block a user