Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Invalid
-
None
Description
I saw this test failure:
Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 7.633 sec <<< FAILURE! - in org.apache.flink.contrib.operatorstatistics.OperatorStatsAccumulatorTest testAccumulatorAllStatistics(org.apache.flink.contrib.operatorstatistics.OperatorStatsAccumulatorTest) Time elapsed: 1.5 sec <<< FAILURE! java.lang.AssertionError: The total number of heavy hitters should be between 0 and 5. at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.assertTrue(Assert.java:41) at org.apache.flink.contrib.operatorstatistics.OperatorStatsAccumulatorTest.testAccumulatorAllStatistics(OperatorStatsAccumulatorTest.java:151)
Full log here.
Maybe the test should set a constant seed to the Random object.