ipatests: Fix for ipa-healthcheck test in FIPS Mode

Fix https://github.com/freeipa/freeipa-healthcheck/pull/349
was added for RHEL10 only causing the tests to
fail in RHEL10.1.
Hence the if condition has been changed in the testcode.

Signed-off-by: Sudhir Menon <sumenon@redhat.com>
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
Sudhir Menon committed 2025-04-07 22:19:32 +05:30
1 parent 83d22c5e45
commit 6ddf7e94c7
1 file changed
+2 -2
@@ -374,10 +374,10 @@ class TestIpaHealthCheck(IntegrationTest):
if (
parse_version(healthcheck_version) < parse_version("0.17")
and osinfo.id == 'rhel'
and osinfo.version_number == (10,0)
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 "
pytest.xfail("Patch is unavailable for RHEL 10.0 and above"
"freeipa-healtheck version 0.16 or less")
returncode, check = run_healthcheck(self.master,