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

[chore] Fix flaky Prometheus watcher test #2643

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

swiatekm
Copy link
Contributor

The test was calling an assert inside an Eventually callback, which in essence meant it only ever tried once. I changed it into an explicit timed wait on a channel.

The test was calling an assert inside an Eventually callback, which in
essence meant it only ever tried once. I changed it into an explicit
timed wait on a channel.
@swiatekm swiatekm requested a review from a team February 16, 2024 16:53
@jaronoff97 jaronoff97 merged commit a62a081 into open-telemetry:main Feb 16, 2024
29 checks passed
@swiatekm swiatekm deleted the fix/flaky-test branch February 16, 2024 17:12
ItielOlenick pushed a commit to ItielOlenick/opentelemetry-operator that referenced this pull request May 1, 2024
The test was calling an assert inside an Eventually callback, which in
essence meant it only ever tried once. I changed it into an explicit
timed wait on a channel.
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.

2 participants