akhileshchg commented on code in PR #12533: URL: https://github.com/apache/kafka/pull/12533#discussion_r949455336
########## core/src/test/scala/unit/kafka/integration/KafkaServerTestHarness.scala: ########## @@ -173,11 +173,11 @@ abstract class KafkaServerTestHarness extends QuorumTestHarness { adminClientConfig: Properties = new Properties ): scala.collection.immutable.Map[Int, Int] = { if (isKRaftTest()) { - resource(createAdminClient(brokers, listenerName, adminClientConfig)) { admin => + resource(createAdminClient(aliveBrokers, listenerName, adminClientConfig)) { admin => Review Comment: Let me know your thoughts. I removed the check while giving it to create adminClient but still kept in the places we check for metadata propagation. -- 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