seokmo-yoo-dev opened a new pull request, #24007: URL: https://github.com/apache/kafka/pull/24007
Replace the remaining try/fail/catch blocks in the SASL client tests with `assertThrows`, following the same cleanup already done for the producer, Streams and Connect tests. - `SaslAuthenticatorTest#testInvalidMechanism` - `OAuthBearerSaslClientTest#testWrapsExtensionsCallbackHandlingErrorInSaslExceptionInFirstClientMessage` The assertions on the thrown exception are unchanged. ### Testing ``` ./gradlew :clients:test --tests '*SaslAuthenticatorTest.testInvalidMechanism' --tests '*OAuthBearerSaslClientTest' ./gradlew :clients:checkstyleTest :clients:spotlessCheck ``` -- 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]
