Remove workaround for third-party repositories check

This commit is contained in:
Lukáš Růžička 2026-04-21 13:29:07 +02:00
commit 2cdb7918eb

View file

@ -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: