Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-5834

TestCheckpoint#testCheckpoint may fail due to Bad value assertion

    Details

    • Type: Test Test
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      I saw the following when running test suite on Linux:

      testCheckpoint(org.apache.hadoop.hdfs.server.namenode.TestCheckpoint)  Time elapsed: 3.058 sec  <<< FAILURE!
      java.lang.AssertionError: Bad value for metric GetImageNumOps
      Expected: gt(0)
           got: <0L>
      
              at org.junit.Assert.assertThat(Assert.java:780)
              at org.apache.hadoop.test.MetricsAsserts.assertCounterGt(MetricsAsserts.java:318)
              at org.apache.hadoop.hdfs.server.namenode.TestCheckpoint.testCheckpoint(TestCheckpoint.java:1058)
      

        Activity

        Ted Yu created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Ted Yu
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development