Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-13243

TestRollingFileSystemSink.testSetInitialFlushTime() fails intermittently

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9.0
    • Fix Version/s: 2.9.0, 3.0.0-alpha1
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Because of poor checking of boundary conditions, the test fails 1% of the time:

      The initial flush time was calculated incorrectly: 0
      
      Stacktrace
      
      java.lang.AssertionError: The initial flush time was calculated incorrectly: 0
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.assertTrue(Assert.java:41)
      	at org.apache.hadoop.metrics2.sink.TestRollingFileSystemSink.testSetInitialFlushTime(TestRollingFileSystemSink.java:120)
      

        Attachments

          Activity

            People

            • Assignee:
              templedf Daniel Templeton
              Reporter:
              templedf Daniel Templeton
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: