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 flakey JaegerRemoteSamplerGrpcNettyTest #5385

Merged
merged 1 commit into from
Apr 17, 2023

Conversation

jack-berg
Copy link
Member

This test flakes fairly frequently (example). The tests validate the behavior when the server returns various errors, and assert that the default configuration is not updated, and that there are warnings of the errors in the logs. I think the test flakes because the polling interval is low at just 50ms, allowing the sampler to perform a second successful request and update its configuration before the assertions take place. Recreated locally by adding manual Thread.sleep, and verified this should fix the issue.

@jack-berg jack-berg requested a review from a team April 16, 2023 19:48
@codecov
Copy link

codecov bot commented Apr 16, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (da38225) 91.29% compared to head (0d547c3) 91.29%.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #5385   +/-   ##
=========================================
  Coverage     91.29%   91.29%           
  Complexity     4879     4879           
=========================================
  Files           549      549           
  Lines         14379    14379           
  Branches       1354     1354           
=========================================
  Hits          13128    13128           
  Misses          863      863           
  Partials        388      388           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@jkwatson jkwatson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

worth a try!

@jack-berg jack-berg merged commit fb3dce4 into open-telemetry:main Apr 17, 2023
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