chia7712 commented on code in PR #22960:
URL: https://github.com/apache/kafka/pull/22960#discussion_r3657686851


##########
clients/clients-integration-tests/src/test/java/org/apache/kafka/clients/admin/AdminMetadataTest.java:
##########
@@ -142,19 +141,12 @@ public void testListTopicsWithOptionTimeoutMs() {
     @ClusterTest
     public void testListTopicsWithOptionListInternal() throws Exception {
         try (Admin admin = clusterInstance.admin()) {
-            String topic = "test-topic";
-            admin.createTopics(List.of(new NewTopic(topic, 1, (short) 
1))).all().get();
-            clusterInstance.waitTopicCreation(topic, 1);
+            admin.createTopics(List.of(new 
NewTopic(Topic.GROUP_METADATA_TOPIC_NAME, 1, (short) 1))).all().get();
+            clusterInstance.waitTopicCreation(Topic.GROUP_METADATA_TOPIC_NAME, 
1);

Review Comment:
   Could you use `clusterInstance#createTopic` instead?



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

Reply via email to