masonyc commented on code in PR #16563:
URL: https://github.com/apache/kafka/pull/16563#discussion_r1676754805


##########
raft/src/test/java/org/apache/kafka/raft/KafkaRaftClientTest.java:
##########
@@ -929,9 +951,9 @@ public void testHandleBeginQuorumRequest(boolean 
withKip853Rpc) throws Exception
     @ParameterizedTest
     @ValueSource(booleans = { true, false })
     public void testHandleBeginQuorumResponse(boolean withKip853Rpc) throws 
Exception {
-        int localId = 0;
-        int otherNodeId = 1;
-        int leaderEpoch = 2;
+        int localId = randomReplicaId();
+        int otherNodeId = localId + 1;
+        int leaderEpoch = localId + 2;

Review Comment:
   Updated



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