narendly commented on a change in pull request #525: Add waged rebalancer 
monitoring mbean metrics
URL: https://github.com/apache/helix/pull/525#discussion_r337806648
 
 

 ##########
 File path: 
helix-core/src/test/java/org/apache/helix/controller/rebalancer/waged/TestWagedRebalancerMetrics.java
 ##########
 @@ -85,7 +89,50 @@ public void testMetricValuePropagation()
 
     // Check that there exists a non-zero value in the metrics
     Assert.assertTrue(_metricCollector.getMetricMap().values().stream()
-        .anyMatch(metric -> metric.getLastEmittedMetricValue() > 0L));
+        .anyMatch(metric -> (long) metric.getLastEmittedMetricValue() > 0L));
+  }
+
+  @Test()
 
 Review comment:
   Nit: () not necessary.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to