TaiJuWu commented on code in PR #16127: URL: https://github.com/apache/kafka/pull/16127#discussion_r1683148993
########## core/src/test/java/kafka/test/ClusterInstance.java: ########## @@ -188,15 +188,15 @@ default Set<GroupProtocol> supportedGroupProtocols() { default void waitForTopic(String topic, int partitions) throws InterruptedException { // wait for metadata TestUtils.waitForCondition( - () -> brokers().values().stream().allMatch(broker -> partitions == 0 ? + () -> aliveBrokers().values().stream().allMatch(broker -> partitions == 0 ? Review Comment: If we don't have this modification, isolated-raft always failed. Maybe it is waiting the shutdown broker? -- 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