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


##########
raft/src/test/java/org/apache/kafka/raft/RaftClientTestContext.java:
##########
@@ -759,7 +774,12 @@ void assertSentBeginQuorumEpochResponse(
 
         assertEquals(epoch, partitionResponse.leaderEpoch());
         assertEquals(leaderId.orElse(-1), partitionResponse.leaderId());
-        assertEquals(partitionError, 
Errors.forCode(partitionResponse.errorCode()));
+        assertEquals(
+            partitionError,
+            Errors.forCode(partitionResponse.errorCode()),
+            "Lead Id: " + leaderId +
+                " Partition response leader Id: " + 
partitionResponse.leaderId()

Review Comment:
   Thanks for the feedback @jsancio . Updated in latest commit.



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