-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
test: Added goleak to TestMain in cmd/collector/app/server package folder #5055
Conversation
Signed-off-by: Aleem Isiaka <[email protected]>
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.
I spot-checked a couple packages with added goleak checks and the tests now fail with actual goleaks. The objective of the ticket was not just add the checks and break the CI, but to fix the leaks and only then add the checks,
btw the test workflow was successful here because of a recently introduced bug -- #5057 |
Cool, I'd check in the leaks. Did a quick run on them and noticed a few of them, some were floated from vendor packages. I might have to reduce the scope of the fix as the errors returned by the go test path/to/package returned quite a lot of them. |
this was exactly the recommendation in the ticket. |
…5057) Signed-off-by: Aleem Isiaka <[email protected]>
Signed-off-by: Aleem Isiaka <[email protected]>
This reverts commit 1f02fb4. Signed-off-by: Aleem Isiaka <[email protected]>
Signed-off-by: Aleem Isiaka <[email protected]>
Signed-off-by: Aleem Isiaka <[email protected]>
Great, I added the goleak fixes for |
Signed-off-by: Aleem Isiaka <[email protected]>
Signed-off-by: Aleem Isiaka <[email protected]>
Signed-off-by: Aleem Isiaka <[email protected]>
…ithub.com:jaegertracing/jaeger
Signed-off-by: Aleem Isiaka <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5055 +/- ##
==========================================
+ Coverage 95.62% 95.63% +0.01%
==========================================
Files 314 314
Lines 18294 18296 +2
==========================================
+ Hits 17493 17498 +5
+ Misses 642 640 -2
+ Partials 159 158 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: Aleem Isiaka <[email protected]>
Co-authored-by: Yuri Shkuro <[email protected]> Signed-off-by: Aleem Isiaka <[email protected]>
Signed-off-by: Aleem Isiaka <[email protected]>
Signed-off-by: Aleem Isiaka <[email protected]>
Signed-off-by: Aleem Isiaka <[email protected]>
Head branch was pushed to by a user without write access
I ran make cover on this commit I have updated to use require instead of assert, it now has 100% coverage Which gave the below result for |
Signed-off-by: Aleem Isiaka <[email protected]>
Which problem is this PR solving?
Description of the changes
How was this change tested?
Checklist
jaeger
:make lint test
jaeger-ui
:yarn lint
andyarn test