ipa/0072-Skip-for-unpatched-freeipa-healthcheck.patch
Florence Blanc-Renaud 518fbd80d0 ipa-4.12.2-16
- Resolves: RHEL-84648 ipa-cacert-manage install fails with CAs having the same subject DN (subject key mismatch info)
- Resolves: RHEL-84279 IPU 9 -> 10: ipa-server breaks the in-place upgrade due to failed scriptlet
- Resolves: RHEL-84275 Search size limit tooltip has Search time limit tooltip text
- Resolves: RHEL-81200 Ipa client --raw --structured throws internal error
- Resolves: RHEL-68803 ipa-migrate with LDIF file from backup of remote server, fails with error 'change collided with another change'
- Resolves: RHEL-67686 [RFE] IDM support UIDs up to 4,294,967,293
- Resolves: RHEL-67633 ipa-healthcheck has tests which call fips-mode-setup
- Resolves: RHEL-4845 Protect *all* IPA service principals
2025-03-24 11:56:22 +01:00

40 lines
1.7 KiB
Diff

From 3e8348a252114005678c1155c70bb806e9efc4f0 Mon Sep 17 00:00:00 2001
From: David Hanina <dhanina@redhat.com>
Date: Mon, 24 Feb 2025 11:32:59 +0100
Subject: [PATCH] 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>
---
ipatests/test_integration/test_ipahealthcheck.py | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/ipatests/test_integration/test_ipahealthcheck.py b/ipatests/test_integration/test_ipahealthcheck.py
index 9f4017e35ec89d19f8d1bd354ecdd8fb21071e6a..d72808f0f9b6dc7e438a16f9bd7e676f473fd323 100644
--- a/ipatests/test_integration/test_ipahealthcheck.py
+++ b/ipatests/test_integration/test_ipahealthcheck.py
@@ -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",
--
2.48.1