lianetm commented on code in PR #15877: URL: https://github.com/apache/kafka/pull/15877#discussion_r1594200503
########## clients/src/test/java/org/apache/kafka/clients/producer/internals/SenderTest.java: ########## @@ -3253,13 +3252,13 @@ public void testProducerBatchRetriesWhenPartitionLeaderChanges() throws Exceptio assertTrue(client.hasInFlightRequests()); client.respond(produceResponse(tp0, -1, Errors.NOT_LEADER_OR_FOLLOWER, 0)); sender.runOnce(); // receive produce response, schedule batch for retry. - assertTrue(!futureIsProduced.isDone(), "Produce request is yet not done."); + assertFalse(futureIsProduced.isDone(), "Produce request is yet not done."); Review Comment: ditto -- 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