cmccabe commented on code in PR #12533:
URL: https://github.com/apache/kafka/pull/12533#discussion_r949455413


##########
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:
   If that is the case, then you should wait until all brokers are unfenced 
before proceeding in the test



-- 
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

Reply via email to