jim0987795064 commented on code in PR #20199:
URL: https://github.com/apache/kafka/pull/20199#discussion_r2261247058


##########
server/src/test/java/org/apache/kafka/server/EligibleLeaderReplicasIntegrationTest.java:
##########
@@ -432,16 +383,16 @@ public void 
testLastKnownLeaderShouldBeElectedIfEmptyElr() throws ExecutionExcep
                         return false;
                     }
                 },
-                () -> String.format("Partition metadata for %s is not 
correct", testTopicName),
-                DEFAULT_MAX_WAIT_MS, 100L
+                DEFAULT_MAX_WAIT_MS,
+                () -> String.format("Partition metadata for %s is not 
correct", testTopicName)
             );
         } finally {
-            restartDeadBrokers(false);
+            clusterInstance.restartDeadBrokers();

Review Comment:
   @chia7712 
   Thanks for the suggestions. I've addressed problems mentioned above.



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