You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "chia7712 (via GitHub)" <gi...@apache.org> on 2026/10/08 17:47:57 UTC
Re: [PR] KAFKA-12188: Assert specific connection failure in SaslAuthenticatorTest [kafka]
chia7712 commented on code in PR #23485:
URL: https://github.com/apache/kafka/pull/23485#discussion_r4222319815
##########
clients/src/test/java/org/apache/kafka/common/security/authenticator/SaslAuthenticatorTest.java:
##########
@@ -1613,7 +1613,9 @@ public void testCannotReauthenticateWithDifferentPrincipal() throws Exception {
* original token with a new one.
*/
delay(1000L);
- assertThrows(AssertionFailedError.class, () -> checkClientConnection(node));
+ AssertionFailedError e = assertThrows(AssertionFailedError.class, () -> checkClientConnection(node));
Review Comment:
please remove the extra space here and the trailing whitespace on the assertTrue lines :)
--
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org