karuturi opened a new pull request, #20121:
URL: https://github.com/apache/kafka/pull/20121

   
   The test was flaky due to a race condition where the test would proceed 
before the brokers were in the correct state. This commit adds a waitUntilTrue 
call to ensure that the replica has caught up with the leader before proceeding 
with the test.
   
   ran the test in a loop to ensure its working fine 
   `for i in {1..10}; do ./gradlew core:test --tests 
kafka.server.LogRecoveryTest && echo "Run $i passed" || exit 1; done` 


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