ipatests: fix test_ipactl_scenario_check

The test is comparing the PID of services before and after
calling ipactl start, expecting to have the same value.
It should not compare the pid for ipa-dnskeysyncd as this service
is automatically restarted upon failure.

Fixes: https://pagure.io/freeipa/issue/9415

Signed-off-by: Florence Blanc-Renaud <flo@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
Florence Blanc-Renaud authored and Rob Crittenden committed 2023-10-04 09:20:44 -04:00
1 parent e459e5b8bc
commit 430054db41
1 file changed
+1 -1
@@ -695,7 +695,7 @@ def get_pki_tomcatd_pid(host):
def get_ipa_services_pids(host): def get_ipa_services_pids(host):
ipa_services_name = [ ipa_services_name = [
"krb5kdc", "kadmin", "named", "httpd", "ipa-custodia", "krb5kdc", "kadmin", "named", "httpd", "ipa-custodia",
"pki_tomcatd", "ipa-dnskeysyncd" "pki_tomcatd"
] ]
pids_of_ipa_services = {} pids_of_ipa_services = {}
for name in ipa_services_name: for name in ipa_services_name: