jeffkbkim commented on a change in pull request #11566:
URL: https://github.com/apache/kafka/pull/11566#discussion_r770279783



##########
File path: 
clients/src/test/java/org/apache/kafka/clients/consumer/internals/AbstractCoordinatorTest.java
##########
@@ -559,8 +606,10 @@ private void expectJoinGroup(
                 return false;
             }
             JoinGroupRequestData joinGroupRequest = ((JoinGroupRequest) 
body).data();
+            boolean isReasonMatching = expectedReason == null || 
joinGroupRequest.reason().equals(expectedReason);

Review comment:
       i added a comment. the reason is never set to null in 
AbstractCoordinator. 




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