zentol commented on a change in pull request #7165: 
[FLINK-10990][Metric]Pre-check timespan in meterview to avoid NAN
URL: https://github.com/apache/flink/pull/7165#discussion_r236019042
 
 

 ##########
 File path: 
flink-metrics/flink-metrics-core/src/test/java/org/apache/flink/metrics/MeterViewTest.java
 ##########
 @@ -94,4 +95,12 @@ public void testGetRate() {
                assertEquals(0.0, m.getRate(), 0.1); // 480 - 480 / 60
 
        }
+
+       @Test
+       public void testTooSmallTimeSpan() {
 
 Review comment:
   => `testTimeSpanBelowUpdateRate`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to