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] use require.Eventually instead of time.Sleep to retry checks #31006

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

atoulme
Copy link
Contributor

@atoulme atoulme commented Feb 1, 2024

Do not use time.Sleep in tests. Use require.Eventually instead or channels.

@codeboten codeboten merged commit e0a18f0 into open-telemetry:main Feb 1, 2024
122 checks passed
@github-actions github-actions bot added this to the next release milestone Feb 1, 2024
@atoulme atoulme deleted the fix_flaky_test_sleep branch February 1, 2024 18:59
codeboten pushed a commit that referenced this pull request Feb 1, 2024
Fixes FailoverRecovery test issue from #31006 for both metrics and logs
as well.
cparkins pushed a commit to AmadeusITGroup/opentelemetry-collector-contrib that referenced this pull request Feb 1, 2024
…pen-telemetry#31006)

Do not use time.Sleep in tests. Use require.Eventually instead or
channels.
cparkins pushed a commit to AmadeusITGroup/opentelemetry-collector-contrib that referenced this pull request Feb 1, 2024
Fixes FailoverRecovery test issue from open-telemetry#31006 for both metrics and logs
as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants