You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by "gnodet (via GitHub)" <gi...@apache.org> on 2026/03/13 14:05:08 UTC

[PR] Fix OAuth2 test flakiness from Response/WebClient resource leaks [cxf]

gnodet opened a new pull request, #2969:
URL: https://github.com/apache/cxf/pull/2969

   ## Summary
   - Close `Response` objects in `OAuth2TestUtils.getLocation()` methods using try-finally blocks to prevent HTTP connection pool exhaustion under CI load with surefire retries
   - Close `WebClient` instances in `AuthorizationGrantTest` and `PublicClientTest` after use to release HTTP connections
   - No functional changes — only resource cleanup additions
   
   ## Test plan
   - [x] `mvn -B validate -pl systests/rs-security` passes (checkstyle/PMD clean)
   - [ ] Full systests/rs-security test suite passes without flaky failures
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@cxf.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix OAuth2 test flakiness from Response/WebClient resource leaks [cxf]

Posted by "coheigea (via GitHub)" <gi...@apache.org>.
coheigea merged PR #2969:
URL: https://github.com/apache/cxf/pull/2969


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@cxf.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org