jsancio commented on code in PR #18240: URL: https://github.com/apache/kafka/pull/18240#discussion_r1917525983
########## raft/src/test/java/org/apache/kafka/raft/KafkaRaftClientPreVoteTest.java: ########## @@ -972,21 +973,22 @@ public void testProspectiveWithLeaderTransitionsToFollower( voteRequests.get(0).correlationId(), voteRequests.get(0).destination(), context.voteResponse(false, OptionalInt.empty(), epoch)); Review Comment: Missing newline between parenthesis: ```java context.voteResponse(false, OptionalInt.empty(), epoch) ); ``` ########## raft/src/test/java/org/apache/kafka/raft/KafkaRaftClientPreVoteTest.java: ########## @@ -972,21 +973,22 @@ public void testProspectiveWithLeaderTransitionsToFollower( voteRequests.get(0).correlationId(), voteRequests.get(0).destination(), context.voteResponse(false, OptionalInt.empty(), epoch)); + context.client.poll(); + context.deliverResponse( voteRequests.get(1).correlationId(), voteRequests.get(1).destination(), context.voteResponse(false, OptionalInt.empty(), epoch)); Review Comment: Missing newline between parenthesis: ```java context.voteResponse(false, OptionalInt.empty(), epoch) ); ``` -- 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