Skip to content
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

Fix periodic checks for expiring certificates #1466

Merged

Conversation

sergeybykov
Copy link
Member

What changed?
Fixed a couple of bugs in the logic of checking for expiring certificates.
Add configuration in tests to actually test periodic checks.

Why?
The feature of periodic checks is currently broken.
Configuration for it was not added to tests, and that allowed the bugs to "pass" tests originally.

How did you test it?
Added missing configuration to tests to cause the tests to fail.
With the fix they are passing.
Also, manually tested that the metrics for certificates approaching expiration do get emitted by the server.

Potential risks
I don't see any. The checks are enable via configuration, and they were broken before this fix.

Is hotfix candidate?
Potentially.

@sergeybykov sergeybykov requested review from mastermanu and a team April 16, 2021 03:01
@sergeybykov sergeybykov merged commit 7398beb into temporalio:master Apr 16, 2021
@sergeybykov sergeybykov deleted the pr/fix-periodic-expiry-check branch April 16, 2021 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants