gaurav-narula commented on code in PR #17434:
URL: https://github.com/apache/kafka/pull/17434#discussion_r1793800100


##########
raft/src/test/java/org/apache/kafka/raft/KafkaRaftClientReconfigTest.java:
##########
@@ -2163,6 +2165,8 @@ void testFollowerSendsUpdateVoterWhenDifferent() throws 
Exception {
         context.pollUntilRequest();
         RaftRequest.Outbound fetchRequest = context.assertSentFetchRequest();
         context.assertFetchRequestData(fetchRequest, epoch, 0L, 0);
+        context.time.sleep(context.fetchTimeoutMs - 1);
+        assertNotEquals(OptionalLong.of(0L), 
context.messageQueue.lastPollTimeoutMs());

Review Comment:
   Yes, it does fail without my change to `KafkaRaftClient::pollFollowerAsVoter`



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to