chia7712 commented on code in PR #17930:
URL: https://github.com/apache/kafka/pull/17930#discussion_r2332115216


##########
raft/src/test/java/org/apache/kafka/raft/RaftUtilTest.java:
##########
@@ -646,6 +647,30 @@ public void 
testAddRaftVoterRequestAckWhenCommittedNotIgnorable() {
         );
     }
 
+    @Test
+    public void testAddVoterResponse() {
+        for (Errors error : Errors.values()) {

Review Comment:
   Iterating over all errors should be unnecessary, but it's fine since it runs 
very quickly



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