-
Notifications
You must be signed in to change notification settings - Fork 973
Fix a leak in HttpServerConnectMethodTest #6583
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
Conversation
Found this from the CI: Leak is detected in com.linecorp.armeria.server.HttpServerConnectMethodTest.connectMethodDisallowedInHttp1()
📝 WalkthroughWalkthroughA single test file is refactored to use try-with-resources for automatic ClientFactory closure instead of explicit closeAsync() call, with WebClient construction moved inside the block. No functional behavior changes. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom Pre-merge Checks in the settings. ✨ Finishing touches
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (1)**/*.java⚙️ CodeRabbit configuration file
Files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (13)
🔇 Additional comments (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6583 +/- ##
============================================
- Coverage 74.46% 74.38% -0.08%
- Complexity 22234 23715 +1481
============================================
Files 1963 2128 +165
Lines 82437 88594 +6157
Branches 10764 11585 +821
============================================
+ Hits 61385 65900 +4515
- Misses 15918 17161 +1243
- Partials 5134 5533 +399 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
ikhoon
left a comment
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.
👍👍
Found this from the CI:
Leak is detected in com.linecorp.armeria.server.HttpServerConnectMethodTest.connectMethodDisallowedInHttp1()