TaiJuWu commented on code in PR #20938:
URL: https://github.com/apache/kafka/pull/20938#discussion_r2657828783


##########
test-common/test-common-runtime/src/main/java/org/apache/kafka/common/test/junit/RaftClusterInvocationContext.java:
##########
@@ -324,6 +324,9 @@ public void format() throws Exception {
                 KafkaClusterTestKit.Builder builder = new 
KafkaClusterTestKit.Builder(nodes);
                 // Copy properties into the TestKit builder
                 
clusterConfig.serverProperties().forEach(builder::setConfigProp);
+                if (clusterConfig.standalone()) {
+                    builder.setStandalone(true);
+                }

Review Comment:
   How about `builder.setStandalone(clusterConfig.standalone())` ?



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