Remove workaround for third-party repositories check
This commit is contained in:
parent
545de3a53a
commit
2cdb7918eb
1 changed files with 1 additions and 13 deletions
|
|
@ -68,19 +68,7 @@ sub run {
|
|||
|
||||
|
||||
# Check that third party repositories have been enabled.
|
||||
# FIXME: Workaround, currently we have a bug
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2446745 and third party repos are not
|
||||
# enabled, even if clicked in GIS. This will record a soft fail and enable them for now.
|
||||
# When the bug is gone, we should delete the workaround.
|
||||
my $result = script_run(q{fedora-third-party query | grep enabled}, timeout => 60);
|
||||
if ($result != 0) {
|
||||
record_soft_failure("The third party repositories are not switched on.");
|
||||
assert_script_run("fedora-third-party enable");
|
||||
assert_script_run("fedora-third-party query | grep enabled");
|
||||
}
|
||||
else {
|
||||
record_info("Workaround for BZ2446745", "It seems that the bug has been fixed. Edit the test script to disable workaround.");
|
||||
}
|
||||
assert_script_run(q{fedora-third-party query | grep enabled}, timeout => 60);
|
||||
assert_script_run(q{fedora-third-party list --csv --columns=name,type | grep -q .});
|
||||
|
||||
# Optional extra proof on the DNF side:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue