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

[Flaky Test] FuzzHandleTraces* tests are very flaky #13934

Closed
ajgajg1134 opened this issue Oct 18, 2022 · 2 comments · Fixed by #13971
Closed

[Flaky Test] FuzzHandleTraces* tests are very flaky #13934

ajgajg1134 opened this issue Oct 18, 2022 · 2 comments · Fixed by #13971
Assignees
Labels
team/agent-apm trace-agent

Comments

@ajgajg1134
Copy link
Contributor

ajgajg1134 commented Oct 18, 2022

It seems this is due to the timing package spinning up a goroutine on init that accesses the metrics client. Many tests will overwrite the metrics client with a test version (thus creating a data race and failing the test)

@gbbr
Copy link
Contributor

gbbr commented Oct 21, 2022

Which init? Do you mean this ?

@ajgajg1134
Copy link
Contributor Author

Yep! That line exactly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team/agent-apm trace-agent
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants