frankvicky commented on code in PR #20108: URL: https://github.com/apache/kafka/pull/20108#discussion_r2188072742
########## test-common/test-common-runtime/src/main/java/org/apache/kafka/common/test/ClusterInstance.java: ########## @@ -258,7 +258,52 @@ default Set<GroupProtocol> supportedGroupProtocols() { //---------------------------[wait]---------------------------// default void waitTopicDeletion(String topic) throws InterruptedException { - waitForTopic(topic, 0); + Collection<KafkaBroker> brokers = aliveBrokers().values(); + List<TopicPartition> topicPartitions = IntStream.range(0, 1) + .mapToObj(partition -> new TopicPartition(topic, partition)) + .toList(); + Review Comment: We should add it back. ########## test-common/test-common-runtime/src/main/java/org/apache/kafka/common/test/ClusterInstance.java: ########## @@ -258,7 +258,52 @@ default Set<GroupProtocol> supportedGroupProtocols() { //---------------------------[wait]---------------------------// default void waitTopicDeletion(String topic) throws InterruptedException { - waitForTopic(topic, 0); + Collection<KafkaBroker> brokers = aliveBrokers().values(); + List<TopicPartition> topicPartitions = IntStream.range(0, 1) Review Comment: @chia7712 It seems that we always have `TopicPartition(topic, 0)` here. Should we change it to `List.of(new TopicPartition(topic, 0))` ? -- 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-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org