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

Add goleak check in pkg/cassandra/gocql/testutils #5304

Merged
merged 4 commits into from
Mar 27, 2024

Conversation

danish9039
Copy link
Contributor

@danish9039 danish9039 commented Mar 27, 2024

Which problem is this PR solving?

Description of the changes

  • added goleak check in pkg/cassandra/gocql/testutils

How was this change tested?

  • make test

Checklist

Signed-off-by: danish siddiqui <[email protected]>
@danish9039 danish9039 requested a review from a team as a code owner March 27, 2024 10:38
@danish9039 danish9039 requested a review from joe-elliott March 27, 2024 10:38
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)
Copy link
Member

@akagami-harsh akagami-harsh Mar 27, 2024

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

Copy link
Contributor Author

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]>
@yurishkuro yurishkuro added the changelog:test Change that's adding missing tests or correcting existing tests label Mar 27, 2024
Copy link

codecov bot commented Mar 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.08%. Comparing base (951ee9b) to head (7edb09f).

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     
Flag Coverage Δ
badger 13.26% <ø> (ø)
cassandra-3.x 26.44% <ø> (ø)
cassandra-4.x 26.44% <ø> (ø)
elasticsearch-5.x 21.70% <ø> (ø)
elasticsearch-6.x 21.70% <ø> (ø)
elasticsearch-7.x 21.78% <ø> (ø)
elasticsearch-8.x 21.87% <ø> (+0.01%) ⬆️
grpc 11.00% <ø> (+0.01%) ⬆️
kafka 14.73% <ø> (ø)
opensearch-1.x 21.77% <ø> (-0.02%) ⬇️
opensearch-2.x 21.78% <ø> (+0.01%) ⬆️
unittests 92.27% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@yurishkuro yurishkuro changed the title add goleak check in pkg/cassandra/gocql/testutils Add goleak check in pkg/cassandra/gocql/testutils Mar 27, 2024
@yurishkuro yurishkuro merged commit 0be0cb9 into jaegertracing:main Mar 27, 2024
37 of 38 checks passed
@yurishkuro
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:test Change that's adding missing tests or correcting existing tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants