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

Add ability to provide custom clocks for HealthCheck #1362

Merged
merged 1 commit into from
Dec 26, 2018

Conversation

arteam
Copy link
Member

@arteam arteam commented Dec 26, 2018

Use the Clock abstraction from metrics-core for that. Users can override the clock method in their health checks. For example, it's useful for pinning the clock in unit tests.

Use the `Clock` abstraction from `metrics-core` for that. Users
can override the `clock` method in their health checks. For example,
it's useful for pinning the clock in unit tests.
@arteam arteam merged commit 8729fcf into 4.1-development Dec 26, 2018
@arteam arteam deleted the use-clock-for-emulating-time branch December 26, 2018 20:09
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

1 participant