-
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
Add goleak check in pkg/cassandra/gocql/testutils #5304
Conversation
Signed-off-by: danish siddiqui <[email protected]>
Signed-off-by: danish siddiqui <[email protected]>
@@ -79,3 +80,7 @@ func TestUDTTestCase(t *testing.T) { | |||
|
|||
testCase.Run(t) | |||
} | |||
|
|||
func TestMain(m *testing.M) { | |||
goleak.VerifyTestMain(m) |
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.
don't use this directly, call testutils.VerifyGoLeaks
form pkg/testutils
as did in this PR
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.
thanks @akagami-harsh ,looking into it
Signed-off-by: danish siddiqui <[email protected]>
Signed-off-by: danish siddiqui <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5304 +/- ##
=======================================
Coverage 95.08% 95.08%
=======================================
Files 340 340
Lines 16626 16626
=======================================
Hits 15809 15809
+ Misses 629 628 -1
- Partials 188 189 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Thanks! |
Which problem is this PR solving?
Description of the changes
pkg/cassandra/gocql/testutils
How was this change tested?
make test
Checklist
jaeger
:make lint test
jaeger-ui
:yarn lint
andyarn test