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

[processor/tailsampling] Cleanly tear down test #9283

Merged
merged 2 commits into from
Apr 18, 2022

Conversation

jpkrohling
Copy link
Member

@jpkrohling jpkrohling commented Apr 14, 2022

This PR changes the factory test to properly initialize and shutdown the processor, so that initialized go routines are properly cleaned. It also adds goleaks to detect leaks of go routines.

Attempts to fix #9126

Signed-off-by: Juraci Paixão Kröhling juraci@kroehling.de

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
@jpkrohling jpkrohling requested a review from a team as a code owner April 14, 2022 18:43
@project-bot project-bot bot added this to In progress in Collector Apr 14, 2022
@jpkrohling jpkrohling added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Apr 14, 2022
Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
Collector automation moved this from In progress to Reviewer approved Apr 15, 2022
@jpkrohling jpkrohling merged commit ba5cb7d into open-telemetry:main Apr 18, 2022
vladracula referenced this pull request in SabreOSS/opentelemetry-collector-contrib May 2, 2022
* [processor/tailsampling] Cleanly tear down test

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

* Move goleaks to main require section

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
(cherry picked from commit ba5cb7d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
No open projects
Collector
  
Reviewer approved
Development

Successfully merging this pull request may close these issues.

Flaky test - tailsamplingprocessor - TestConcurrentTraceMapSize
2 participants