From 8ef3d6ce5c6538756f8eef3e6d89b36baebc88e7 Mon Sep 17 00:00:00 2001 From: Sudhir Menon Date: Jan 10 2024 19:58:49 +0000 Subject: ipatests: Skip ds_encryption tests on RHEL9 SUT. test_ipahealthcheck_ds_encryption tests are failing in RHEL9 SUT because in this test tls protocol version is set to TLS1.0 using the below command, but its reset to TLS1.2 causing the test to fail. 'dsconf', 'slapd-TESTREALM-TEST', 'security', 'set', '--tls-protocol-min=TLS1.0' Hence the test is skipped to be run on RHEL9.0 SUT. 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 785e9ab..40c8489 100644 --- a/ipatests/test_integration/test_ipahealthcheck.py +++ b/ipatests/test_integration/test_ipahealthcheck.py @@ -158,7 +158,6 @@ TOMCAT_CONFIG_FILES = ( paths.CA_CS_CFG_PATH, ) - def run_healthcheck(host, source=None, check=None, output_type="json", failures_only=False, config=None): """ @@ -1262,6 +1261,10 @@ class TestIpaHealthCheck(IntegrationTest): ) self.master.run_command(cmd) + @pytest.mark.skipif((osinfo.id == 'rhel' + and osinfo.version_number >= (9,0)), + reason=" TLS versions below 1.2 are not " + "supported anymore in RHEL9.0 and above.") def test_ipahealthcheck_ds_encryption(self, modify_tls): """ This testcase modifies the default TLS version of