-
Notifications
You must be signed in to change notification settings - Fork 5k
otel: increase goleak coverage in receiver tests #46466
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
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
005f273
to
e368468
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the tests pass, it's good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@Mergifyio backport 9.0 9.1 |
✅ Backports have been created
|
* otel: increase goleak coverage in receiver tests * fix imports (cherry picked from commit cd3537b) # Conflicts: # x-pack/filebeat/fbreceiver/receiver_test.go
* otel: increase goleak coverage in receiver tests * fix imports (cherry picked from commit cd3537b) # Conflicts: # x-pack/filebeat/fbreceiver/receiver_leak_test.go # x-pack/metricbeat/mbreceiver/receiver_leak_test.go
* otel: increase goleak coverage in receiver tests * fix imports (cherry picked from commit cd3537b)
* otel: increase goleak coverage in receiver tests * fix imports (cherry picked from commit cd3537b) Co-authored-by: Mauri de Souza Meneguzzo <[email protected]>
…sts (#46471) * otel: increase goleak coverage in receiver tests (#46466) * otel: increase goleak coverage in receiver tests * fix imports (cherry picked from commit cd3537b) # Conflicts: # x-pack/filebeat/fbreceiver/receiver_test.go * fix conflicts --------- Co-authored-by: Mauri de Souza Meneguzzo <[email protected]>
Proposed commit message
This commit improves goleak coverage in the receiver tests. By instrumenting
oteltest.CheckReceivers
, we achieve broader coverage of receiver use cases. It also adds references to the known leaks that are allowed and why.Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.How to test this PR locally
Related issues