apoorvmittal10 commented on code in PR #18710:
URL: https://github.com/apache/kafka/pull/18710#discussion_r1931119701


##########
core/src/test/java/kafka/server/share/SharePartitionManagerTest.java:
##########
@@ -167,6 +167,7 @@ public class SharePartitionManagerTest {
     public void setUp() {
         mockTimer = new SystemTimerReaper("sharePartitionManagerTestReaper",
             new SystemTimer("sharePartitionManagerTestTimer"));
+        kafka.utils.TestUtils.clearYammerMetrics();

Review Comment:
   Though ideally it should, but added a safe check in setup as well. I cannot 
ever reproduce the tests failure on local, had more than 1000 runs.



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