ahuang98 commented on code in PR #16637: URL: https://github.com/apache/kafka/pull/16637#discussion_r1687031887
########## raft/src/test/java/org/apache/kafka/raft/RaftClientTestContext.java: ########## @@ -641,19 +641,43 @@ void assertSentDescribeQuorumResponse( long highWatermark, List<ReplicaState> voterStates, List<ReplicaState> observerStates + ) { + short apiVersion = (short) (kip853Rpc ? 2 : 1); + assertSentDescribeQuorumResponse(leaderId, leaderEpoch, highWatermark, voterStates, observerStates, apiVersion, Errors.NONE); + } + + void assertSentDescribeQuorumResponse( + int leaderId, + int leaderEpoch, + long highWatermark, + List<ReplicaState> voterStates, + List<ReplicaState> observerStates, + short apiVersion, Review Comment: I added this specifically for the test cases where I specify an older describeQuorumRequest version than what is default -- 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