smjn commented on code in PR #19026: URL: https://github.com/apache/kafka/pull/19026#discussion_r1993795193
########## core/src/test/scala/unit/kafka/server/ShareGroupHeartbeatRequestTest.scala: ########## @@ -261,7 +273,7 @@ class ShareGroupHeartbeatRequestTest(cluster: ClusterInstance) { val topicPartitionsAssignedToMember2 = shareGroupHeartbeatResponse.data.assignment.topicPartitions() // Verify the response. - assertEquals(3, shareGroupHeartbeatResponse.data.memberEpoch) + assertEquals(4, shareGroupHeartbeatResponse.data.memberEpoch) Review Comment: No, because the topic is created after the very first heartbeat is sent. The second hearbeat updates the group metadata Second creates the persister request Thirst assigns -- 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