tests: Add ipa_ca_name checking to DNS system records

freeipa-healthcheck 0.12 includes a SUCCESS message if the
ipa-ca records are as expected so a user will know they
were checked. For that version and beyond test that it
is included.

Related: https://pagure.io/freeipa/issue/9291

Signed-off-by: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
Rob Crittenden 2023-01-30 11:54:36 -05:00 committed by Florence Blanc-Renaud
parent a5c99a6b04
commit bf9797f27b

View File

@ -810,7 +810,9 @@ class TestIpaHealthCheck(IntegrationTest):
+ [str(ip) for ip in resolve_ip_addresses_nss(h.external_hostname)]
]
SYSTEM_RECORDS.append(f'"{self.master.domain.realm.upper()}"')
version = tasks.get_healthcheck_version(self.master)
if parse_version(version) >= parse_version("0.12"):
SYSTEM_RECORDS.append('ipa_ca_check')
returncode, data = run_healthcheck(
self.master,