karuturi commented on code in PR #20121:
URL: https://github.com/apache/kafka/pull/20121#discussion_r2196778751


##########
core/src/test/scala/unit/kafka/server/LogRecoveryTest.scala:
##########
@@ -215,7 +215,7 @@ class LogRecoveryTest extends QuorumTestHarness {
     server2.startup()
     updateProducer()
     // check if leader moves to the other server
-    leader = awaitLeaderChange(servers, topicPartition, oldLeaderOpt = 
Some(leader), timeout = 30000L)
+    leader = awaitLeaderChange(Seq(server2), topicPartition, oldLeaderOpt = 
Some(leader), timeout = 30000L)

Review Comment:
   Thanks for the detailed comment. Just started on the codebase and getting my 
hands dirty. I will investigate on this and get back to you. 



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