Skip to content

Commit 41ca20e

Browse files
Add workaround for suseconnect-ng regression
1 parent ee246ae commit 41ca20e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

tests/update/zypper_up.pm

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
use base "y2_module_consoletest";
1313
use testapi;
1414
use utils;
15+
use version_utils;
1516

1617
sub run {
1718
select_console 'root-console';
@@ -23,6 +24,13 @@ sub run {
2324
# published meanwhile?
2425
clear_console; # clear screen to see that second update does not do any more
2526
zypper_call("-q patch");
27+
28+
# Workaround for <ALVAROS TICKET HERE>
29+
# 1.13.0 is the last known good version of suseconnect-ng
30+
if (is_sle('=15-SP5')) {
31+
record_soft_failure('bsc#BLA - Downgrading suseconnect-ng due to regression');
32+
zypper_call('in --oldpackage --allow-downgrade suseconnect-ng-1.13.0');
33+
}
2634
}
2735

2836
sub test_flags {

0 commit comments

Comments
 (0)