From 6ddf7e94c73fb28c3fa5f4402886c1fdc7b27bd6 Mon Sep 17 00:00:00 2001 From: Sudhir Menon Date: Apr 07 2025 16:49:32 +0000 Subject: 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 Reviewed-By: Florence Blanc-Renaud --- diff --git a/ipatests/test_integration/test_ipahealthcheck.py b/ipatests/test_integration/test_ipahealthcheck.py index d72808f..8d1b9fc 100644 --- a/ipatests/test_integration/test_ipahealthcheck.py +++ b/ipatests/test_integration/test_ipahealthcheck.py @@ -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,