FrankYang0529 commented on code in PR #19932:
URL: https://github.com/apache/kafka/pull/19932#discussion_r2142113237


##########
core/src/test/scala/integration/kafka/server/KRaftClusterTest.scala:
##########
@@ -130,6 +130,27 @@ class KRaftClusterTest {
     }
   }
 
+  @Test
+  def testClusterWithLowerCaseListeners(): Unit = {
+    Using.resource(new KafkaClusterTestKit.Builder(
+      new TestKitNodes.Builder().
+        setNumBrokerNodes(1).
+        setBrokerListenerName(new ListenerName("external")).
+        setNumControllerNodes(3).
+        build()).build()
+    ) { cluster =>
+      cluster.format()
+      cluster.startup()
+      TestUtils.waitUntilTrue(() => cluster.brokers().get(0).brokerState == 
BrokerState.RUNNING,

Review Comment:
   Thanks for the suggestion. I add some new assertions for `listeners`, 
`inter.broker.listener.name`, and `listener.security.protocol.map`.



-- 
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

Reply via email to