frankvicky commented on code in PR #18737: URL: https://github.com/apache/kafka/pull/18737#discussion_r1954771821
########## clients/src/test/java/org/apache/kafka/clients/consumer/internals/ConsumerMembershipManagerTest.java: ########## @@ -2655,7 +2652,7 @@ private ConsumerMembershipManager createMemberInStableState(String groupInstance when(subscriptionState.rebalanceListener()).thenReturn(Optional.empty()); membershipManager.onHeartbeatSuccess(heartbeatResponse); assertEquals(MemberState.RECONCILING, membershipManager.state()); - membershipManager.poll(time.milliseconds()); + membershipManager.maybeReconcile(true); Review Comment: This will invoke `testOnPartitionsLostError` and mock a revocation, so we can't change it to `false`. -- 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