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

enable Netty leak detection #12483

Merged
merged 2 commits into from
Feb 24, 2024

Conversation

sullis
Copy link
Contributor

@sullis sullis commented Feb 23, 2024

Motivation:

detect Netty leaks using Netty's paranoid leak detector

Modifications:

  • add a Netty leak listener class
  • add a TestNG listener class

Result:

TestNG listener verifies that there are zero Netty leaks

@codecov-commenter
Copy link

codecov-commenter commented Feb 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 61.74%. Comparing base (3d7bc6f) to head (61e0185).

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #12483      +/-   ##
============================================
+ Coverage     61.72%   61.74%   +0.01%     
- Complexity      201      207       +6     
============================================
  Files          2436     2436              
  Lines        133219   133219              
  Branches      20635    20635              
============================================
+ Hits          82232    82257      +25     
+ Misses        44943    44900      -43     
- Partials       6044     6062      +18     
Flag Coverage Δ
custom-integration1 <0.01% <ø> (?)
integration <0.01% <ø> (+<0.01%) ⬆️
integration1 <0.01% <ø> (?)
integration2 0.00% <ø> (ø)
java-11 61.69% <ø> (+<0.01%) ⬆️
java-21 61.61% <ø> (+0.02%) ⬆️
skip-bytebuffers-false 61.71% <ø> (+<0.01%) ⬆️
skip-bytebuffers-true 61.60% <ø> (+0.02%) ⬆️
temurin 61.74% <ø> (+0.01%) ⬆️
unittests 61.74% <ø> (+0.01%) ⬆️
unittests1 46.84% <ø> (-0.01%) ⬇️
unittests2 27.75% <ø> (+0.02%) ⬆️

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.

@sullis sullis changed the title testing: enable Netty leak detection enable Netty leak detection Feb 24, 2024
@sullis
Copy link
Contributor Author

sullis commented Feb 24, 2024

ready to merge @xiangfu0

Copy link
Contributor

@Jackie-Jiang Jackie-Jiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution! Can you please reformat the changes to follow Pinot Style?

@sullis sullis force-pushed the sean/testng-netty-leak-detection branch from 61e0185 to 8d9dace Compare February 24, 2024 18:32
@sullis
Copy link
Contributor Author

sullis commented Feb 24, 2024

Thanks for the contribution! Can you please reformat the changes to follow Pinot Style?

Done ✅

@Jackie-Jiang Jackie-Jiang merged commit 6903eca into apache:master Feb 24, 2024
19 checks passed
@sullis sullis deleted the sean/testng-netty-leak-detection branch March 6, 2024 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants