Skip for unpatched freeipa-healthcheck

The patch is not yet live, therefore we should expect an failure.
Once the patched version goes out, the test should work properly.

Signed-off-by: David Hanina <dhanina@redhat.com>
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
David Hanina authored and Florence Blanc-Renaud committed 2025-03-04 18:16:10 +01:00
1 parent 3c50bc2389
commit 90d70b5dd0
1 file changed
+10
@@ -370,6 +370,16 @@ class TestIpaHealthCheck(IntegrationTest):
https://pagure.io/freeipa/issue/8951
"""
healthcheck_version = tasks.get_healthcheck_version(self.master)
if (
parse_version(healthcheck_version) < parse_version("0.17")
and osinfo.id == 'rhel'
and osinfo.version_number == (10,0)
):
# Patch: https://github.com/freeipa/freeipa-healthcheck/pull/349
pytest.xfail("Patch is unavailable for RHEL 10.0 and "
"freeipa-healtheck version 0.16 or less")
returncode, check = run_healthcheck(self.master,
source="ipahealthcheck.meta.core",
check="MetaCheck",