lucasbru opened a new pull request, #14939: URL: https://github.com/apache/kafka/pull/14939
`DelegationTokenEndToEndAuthorizationWithOwnerTest` can leak a thread, causing problems with many tests. This is due to an admin client that isn't being closed when a (flaky) test fails. Using the Scala util `Using` to close the auto-closable admin client in case the validation fails. ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
