chia7712 commented on code in PR #19952: URL: https://github.com/apache/kafka/pull/19952#discussion_r2144264406
########## core/src/test/scala/unit/kafka/server/ReplicaManagerTest.scala: ########## @@ -3603,7 +3544,6 @@ class ReplicaManagerTest { // verify that broker 1 did remove its metrics when no longer being the leader of partition 1 verify(mockTopicStats1).removeOldLeaderMetrics(topic) - verify(mockTopicStats1).removeOldFollowerMetrics(topic) Review Comment: This removal is legal as the method is a no-op actually. I have opened https://issues.apache.org/jira/browse/KAFKA-19406 to clean up. -- 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