m1a2st opened a new pull request, #16994: URL: https://github.com/apache/kafka/pull/16994
Jira: https://issues.apache.org/jira/browse/KAFKA-17407 In my opinion, the old test run twice in https://github.com/apache/kafka/blob/4a485ddb71c844acc8bf241feda1fcbffc5ce9be/core/src/test/scala/unit/kafka/server/ShareGroupHeartbeatRequestTest.scala#L460 and make the epoch plus twice is wired, I think the root cause is https://github.com/apache/kafka/blob/4a485ddb71c844acc8bf241feda1fcbffc5ce9be/group-coordinator/src/main/java/org/apache/kafka/coordinator/group/GroupMetadataManager.java#L2197 https://github.com/apache/kafka/blob/4a485ddb71c844acc8bf241feda1fcbffc5ce9be/group-coordinator/src/main/java/org/apache/kafka/coordinator/group/GroupMetadataManager.java#L2178 It seen need some time to update the `updatedMember` variable, thus I make the thread to sleep 1s. ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) -- 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]
