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

[receiver/otlpreceiver] Enable goleak check #9225

Merged
merged 8 commits into from
Feb 3, 2024

Conversation

crobert-1
Copy link
Member

Description:

Add goleak to detect leaks in tests. Leaking goroutines were detected that were caused by a dependency that we can ignore (go.opencensus.io/stats/view.(*worker).start), a Shutdown call was also added that was missing.

Link to tracking Issue:
#9165

Testing:
Added check is passing as well as existing tests.

@crobert-1 crobert-1 requested review from a team and dmitryax January 5, 2024 00:02
Copy link

codecov bot commented Jan 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a16357d) 90.38% compared to head (cda6406) 90.16%.
Report is 19 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9225      +/-   ##
==========================================
- Coverage   90.38%   90.16%   -0.22%     
==========================================
  Files         341      345       +4     
  Lines       17986    18028      +42     
==========================================
- Hits        16256    16255       -1     
- Misses       1407     1443      +36     
- Partials      323      330       +7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@crobert-1 crobert-1 changed the title [chore][receiver/otlpreceiver] Enable goleak check [receiver/otlpreceiver] Enable goleak check Jan 5, 2024
@crobert-1 crobert-1 force-pushed the goleak_otlpreceiver branch from e91e3a0 to af1074f Compare January 5, 2024 18:44
@crobert-1
Copy link
Member Author

Failing test is frequency of #9230

@crobert-1 crobert-1 force-pushed the goleak_otlpreceiver branch from af1074f to e826098 Compare January 8, 2024 21:41
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Jan 23, 2024
@github-actions github-actions bot removed the Stale label Jan 24, 2024
@bogdandrutu bogdandrutu merged commit efd6034 into open-telemetry:main Feb 3, 2024
32 checks passed
@github-actions github-actions bot added this to the next release milestone Feb 3, 2024
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.

3 participants