tibrewalpratik17 commented on code in PR #13679: URL: https://github.com/apache/pinot/pull/13679#discussion_r1687229932
########## pinot-common/src/test/java/org/apache/pinot/common/metrics/AbstractMetricsTest.java: ########## @@ -48,4 +53,30 @@ public void testAddOrUpdateGauge() { controllerMetrics.removeGauge(metricName); Assert.assertTrue(controllerMetrics.getMetricsRegistry().allMetrics().isEmpty()); } + + @Test + public void testUpdateAndRemoveGauge() Review Comment: We are creating a new `YammerMetricsRegistry` every test run. So we should be good I suppose. -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org