You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2021/09/27 21:00:31 UTC

[GitHub] [kafka] 3schwartz commented on a change in pull request #11361: KAFKA-13324: KRaft: fix validateOnly in CreateTopics

3schwartz commented on a change in pull request #11361:
URL: https://github.com/apache/kafka/pull/11361#discussion_r717001975



##########
File path: metadata/src/test/java/org/apache/kafka/controller/ReplicationControlManagerTest.java
##########
@@ -429,6 +429,43 @@ public void testCreateTopics() throws Exception {
             ctx.replicationControl.iterator(Long.MAX_VALUE));
     }
 
+    @Test
+    public void testCreateTopicsWithValidateOnlyFlag() throws Exception {
+        ReplicationControlTestContext ctx =
+            new ReplicationControlTestContext(Optional.empty());

Review comment:
       You can use the default constructor
   
   `ReplicationControlTestContext ctx = new ReplicationControlTestContext();`




-- 
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-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org