[ https://issues.apache.org/jira/browse/KAFKA-18956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17934256#comment-17934256 ]
Chia-Ping Tsai commented on KAFKA-18956: ---------------------------------------- [~kevinwu2412] excuse me, IIRC, our new test infra supports to run multiple controllers already. see https://github.com/apache/kafka/blob/6551e87815caddee02658534efccba5dc95d2dab/tools/src/test/java/org/apache/kafka/tools/MetadataQuorumCommandTest.java#L47 {code:java} @ClusterTests({ @ClusterTest(brokers = 2, controllers = 2), @ClusterTest(brokers = 2, controllers = 1), @ClusterTest(brokers = 1, controllers = 2), }) public void testDescribeQuorumReplicationSuccessful(ClusterInstance cluster) throws InterruptedException { cluster.waitForReadyBrokers(); String describeOutput = ToolsTestUtils.captureStandardOut(() -> MetadataQuorumCommand.mainNoExit("--bootstrap-server", cluster.bootstrapServers(), "describe", "--replication") ); {code} Please correct me if I misunderstand your ticket. thanks! > Enable junit tests to optionally use more than one KRaft controller > ------------------------------------------------------------------- > > Key: KAFKA-18956 > URL: https://issues.apache.org/jira/browse/KAFKA-18956 > Project: Kafka > Issue Type: Task > Reporter: Kevin Wu > Assignee: TengYao Chi > Priority: Major > > Currently, the junit tests create just one `controllerServer`. Enabling the > test framework to support multiple `controllerServers` would allow for junit > tests to test behavior during KRaft leadership changes. -- This message was sent by Atlassian Jira (v8.20.10#820010)