mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-26 16:16:31 -06:00
ipatests: Handle non-zero return code in test_ipactl_scenario_check
https://pagure.io/freeipa/issue/8550 Signed-off-by: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
parent
ed21787190
commit
8082a2d9eb
@ -766,7 +766,8 @@ class TestInstallMaster(IntegrationTest):
|
||||
service_start = [
|
||||
svcs for svcs in ipa_services_name if svcs not in service_stop
|
||||
]
|
||||
cmd = self.master.run_command(['ipactl', 'status'])
|
||||
cmd = self.master.run_command(['ipactl', 'status'], raiseonerr=False)
|
||||
assert cmd.returncode == 3
|
||||
for service in service_start:
|
||||
assert f"{service} Service: RUNNING" in cmd.stdout_text
|
||||
for service in service_stop:
|
||||
|
Loading…
Reference in New Issue
Block a user