mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipatests: fix test_ipahealthcheck.py::TestIpaHealthCheck
test_ipa_healthcheck_expiring is assuming that it's executed on a KRA-less installation, but the test is executed after test_ipa_healthcheck_no_errors that configures the KRA. With a KRA install, 12 certs are monitored instead of 9. Fixes: https://pagure.io/freeipa/issue/8439 Reviewed-By: Rob Crittenden <rcritten@redhat.com>
This commit is contained in:
committed by
Rob Crittenden
parent
3a42bc0960
commit
d55e339df3
@@ -799,7 +799,7 @@ class TestIpaHealthCheck(IntegrationTest):
|
||||
)
|
||||
|
||||
assert returncode == 1
|
||||
assert len(data) == 9 # non-KRA is 9 tracked certs
|
||||
assert len(data) == 12 # KRA is 12 tracked certs
|
||||
|
||||
for check in data:
|
||||
if check["result"] == "SUCCESS":
|
||||
|
||||
Reference in New Issue
Block a user