dajac commented on code in PR #12056:
URL: https://github.com/apache/kafka/pull/12056#discussion_r867907822


##########
core/src/test/scala/unit/kafka/server/ReplicaManagerTest.scala:
##########
@@ -2427,7 +2427,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:
   Why do we need to remove this?



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