Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-2839

Failing test: OperatorStatsAccumulatorTest.testAccumulatorAllStatistics

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ggevay Gábor Gévay
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: