brandboat commented on code in PR #16644:
URL: https://github.com/apache/kafka/pull/16644#discussion_r1697747738
##########
core/src/test/scala/integration/kafka/api/PlaintextAdminIntegrationTest.scala:
##########
@@ -2714,6 +2714,56 @@ class PlaintextAdminIntegrationTest extends
BaseAdminIntegrationTest {
ConfigSource.DYNAMIC_TOPIC_CONFIG, false, false,
Collections.emptyList(), null, null),
topicConfigs.get(TopicConfig.INDEX_INTERVAL_BYTES_CONFIG))
}
+
+ @ParameterizedTest
+ @ValueSource(strings = Array("kraft"))
+ def testAlterReassignmentsWithBootstrapControllers(quorum: String): Unit = {
+ client = Admin.create(createConfig)
+ val assignments = new util.HashMap[Integer, util.List[Integer]]
+ assignments.put(0, util.Arrays.asList(0, 1, 2))
+ assignments.put(1, util.Arrays.asList(1, 2, 0))
+ assignments.put(2, util.Arrays.asList(2, 1, 0))
+ val createTopicResult = client.createTopics(Collections.singletonList(new
NewTopic("foo", assignments)))
Review Comment:
Sure, I'will address this after moving the the whole test cases to
`BootstrapControllersIntegrationTest`, thanks
--
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]