Gabor Gevay created FLINK-2839:
----------------------------------
Summary: Failing test:
OperatorStatsAccumulatorTest.testAccumulatorAllStatistics
Key: FLINK-2839
URL: https://issues.apache.org/jira/browse/FLINK-2839
Project: Flink
Issue Type: Bug
Components: flink-contrib
Reporter: Gabor Gevay
Priority: Minor
I saw this test failure:
{code}
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)
{code}
Full log
[here|https://s3.amazonaws.com/archive.travis-ci.org/jobs/84469788/log.txt].
Maybe the test should set a constant seed to the {{Random}} object.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)