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

Delete Flaky Test #7884

Merged
merged 2 commits into from
Feb 28, 2023
Merged

Delete Flaky Test #7884

merged 2 commits into from
Feb 28, 2023

Conversation

adamgfraser
Copy link
Contributor

This test is flaky because it uses the live clock. In addition, flaky does not help here because the state of the metric is effected by prior tests causing retries to fail and leading to overall test instability. I think it is better to recognize that we made a conscious choice to use java.lang.System.nanotime for efficiency but that makes this method not very testable.

@adamgfraser adamgfraser merged commit bea7543 into zio:series/2.x Feb 28, 2023
@adamgfraser adamgfraser deleted the observedurations branch February 28, 2023 12:25
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