-
Notifications
You must be signed in to change notification settings - Fork 342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Perform baseline healthcheck #4323
Conversation
@rcritten Thanks for the patch. Should we check if the output contains |
I don't think we need to explicitly check for this specific error. This baseline test will ensure that no errors at all are returned on a default installation which also covers the specific problem raised in the BZ. |
Hi @rcritten |
Tests passing after much flag issues. Adding back ack and pushing. |
Hang on, probably worth re-review since I rebased and made another slight change, adding back needs_review. |
@@ -387,6 +392,20 @@ def test_source_ipa_roles_check_crlmanager(self): | |||
assert check["result"] == "SUCCESS" | |||
assert check["kw"]["key"] == "crl_manager" | |||
assert check["kw"]["crlgen_enabled"] is False | |||
self.master.run_command(["ipa-crlgen-manage", "enable"]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would put this command in a finally:
block to make sure it is called even if the test fails.
I implemented it as a fixture |
Run healthcheck on a default installation and ensure that there are no failures. This test ensures that a fresh IPA installation will pass healthcheck. https://bugzilla.redhat.com/show_bug.cgi?id=1774032
Hi @rcritten |
master:
|
Run healthcheck on a default installation and ensure that there
are no failures. This test ensures that a fresh IPA installation
will pass healthcheck.
https://bugzilla.redhat.com/show_bug.cgi?id=1774032