karuturi commented on code in PR #20121: URL: https://github.com/apache/kafka/pull/20121#discussion_r2200524063
########## 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 @junrao I made the changes as suggested. Post fix, I ran 100 runs with no failure. -- 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