-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[exporter/elasticsearch] goroutine leaks in tests #35638
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
As of now there are two leaks that are detected, following the goleak docs I was able to pinpoint the exact tests that have leaks: $ export GOTOOLCHAIN=go1.23.1
$ export GOSUMDB=sum.golang.org
$ cd exporter/elasticsearchexporter
$ go test -c -o tests; for test in $(go test -list . | grep -E "^(Test|Example)"); do ./tests -test.run "^$test\$" &>/dev/null && echo -n "." || echo -e "\n$test failed"; done
.......................
TestComponentLifecycle failed
................% I was unable to fix this particular test, but commenting it reports I would appreciate it if someone could take a look at |
/label -needs-triage |
Turns out |
Is this still relevant? I'm not able to reproduce the failure locally. |
Can no longer reproduce any leaks. This issue should be good to close. |
I'm gonna close this for now then. Feel free to re-open if there is still evidence that it's not fixed. |
Component(s)
exporter/elasticsearch
Describe the issue you're reporting
Description
The goleak tool reports goroutine leaks in tests.
Steps to Reproduce
Expected Result
No leaks reported by goleak.
Actual Result
Related issues
The text was updated successfully, but these errors were encountered: