Disable FreeIPA replica tests on Rawhide (rhbz #2490607)
FreeIPA replica tests are known broken on Rawhide with OpenSSL 4.0. Having repeated failures in the overview makes it much harder to spot real failures, so let's hack things up so the tests go down a bogus path that always softfails instead. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
98404d7572
commit
d92d78b7ec
2 changed files with 25 additions and 0 deletions
10
main.pm
10
main.pm
|
|
@ -378,6 +378,16 @@ sub load_postinstall_tests() {
|
|||
## LOADING STARTS HERE
|
||||
|
||||
|
||||
# ugly hack while FreeIPA replica tests are broken on Rawhide:
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2490607
|
||||
# divert them to a null test that just records a soft failure
|
||||
# so the failures don't mess up our views
|
||||
if (get_var('VERSION', '1') eq get_var('RAWREL', '2')) {
|
||||
if (get_var('TEST') =~ m/replication/) {
|
||||
autotest::loadtest 'tests/replica_null.pm';
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
# if user set ENTRYPOINT, run required test directly
|
||||
# (good for tests where it doesn't make sense to use _boot_to_anaconda, _software_selection etc.)
|
||||
# if you want to run more than one test via ENTRYPOINT, separate them with space
|
||||
|
|
|
|||
15
tests/replica_null.pm
Normal file
15
tests/replica_null.pm
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
use base "installedtest";
|
||||
use strict;
|
||||
use testapi;
|
||||
|
||||
sub run {
|
||||
record_soft_failure 'FreeIPA replica tests known broken on Rawhide: https://bugzilla.redhat.com/show_bug.cgi?id=2490607';
|
||||
}
|
||||
|
||||
sub test_flags {
|
||||
return {fatal => 1};
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
# vim: set sw=4 et:
|
||||
Loading…
Add table
Add a link
Reference in a new issue