pprovenzano commented on code in PR #12843: URL: https://github.com/apache/kafka/pull/12843#discussion_r1024471383
########## core/src/test/scala/integration/kafka/api/SslEndToEndAuthorizationTest.scala: ########## @@ -37,8 +37,8 @@ object SslEndToEndAuthorizationTest { override def build(context: AuthenticationContext): KafkaPrincipal = { val peerPrincipal = context.asInstanceOf[SslAuthenticationContext].session.getPeerPrincipal.getName peerPrincipal match { - case Pattern(name, _) => - val principal = if (name == "server") name else peerPrincipal + case Pattern(name, extra) => Review Comment: Done -- 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-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org