ankitsultana commented on code in PR #13679: URL: https://github.com/apache/pinot/pull/13679#discussion_r1688317674
########## 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: I think we could even remove this test. The amount of code added in the test is likely not worth it. But LGTM. Thanks @tibrewalpratik17 for going out of your way to fix day to day bugs. -- 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