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

TestRollingFileSystemSink.testSetInitialFlushTime() fails intermittently

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.9.0
    • 2.9.0, 3.0.0-alpha1
    • test
    • None
    • 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

        1. HADOOP-13243.001.patch
          2 kB
          Daniel Templeton

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: