mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-25 22:50:12 -05:00
ipatests: test that no errors are reported after ipa-certupdate
The CA tracking request was modified to drop the profile which was caught by ipa-healthcheck. Run ipa-certupdate then ipa-healthcheck to confirm that no problems are introduced. https://pagure.io/freeipa/issue/8644 Signed-off-by: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Fraser Tweedale <ftweedal@redhat.com> Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
1 parent
53f4fd9126
commit
8e9fecd72a
1 file changed
+14
@@ -284,6 +284,20 @@ class TestIpaHealthCheck(IntegrationTest):
|
||||
assert output == \
|
||||
"ERROR: ipahealthcheck.meta.services.sssd: sssd: not running"
|
||||
|
||||
def test_ipa_healthcheck_after_certupdate(self):
|
||||
"""
|
||||
Verify that ipa-certupdate hasn't messed up tracking
|
||||
|
||||
ipa-certupdate was dropping the profile value from the CA
|
||||
signing cert tracking. ipa-healthcheck discovered this.
|
||||
|
||||
Run ipa-healthcheck after ipa-certupdate to ensure that
|
||||
no problems are discovered.
|
||||
"""
|
||||
self.master.run_command([paths.IPA_CERTUPDATE])
|
||||
returncode, _data = run_healthcheck(self.master)
|
||||
assert returncode == 0
|
||||
|
||||
def test_dogtag_ca_check_exists(self):
|
||||
"""
|
||||
Testcase to verify checks available in
|
||||
|
||||
Reference in new issue
Block a user