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


##########
core/src/test/java/kafka/test/ClusterTestExtensionsTest.java:
##########
@@ -66,8 +67,8 @@ static void generate1(ClusterGenerator clusterGenerator) {
         serverProperties.put("foo", "bar");
         clusterGenerator.accept(ClusterConfig.defaultBuilder()
                 .setTypes(Collections.singleton(Type.ZK))
-                .setName("Generated Test")
                 .setServerProperties(serverProperties)
+                .setTags(Arrays.asList("name", "Generated Test"))

Review Comment:
   `Arrays.asList` is used to create a list with many items. 



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