Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-15634

TestDateTieredCompactionPolicy#negativeForMajor is flaky

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.0
    • 1.3.0, 0.98.20, 2.0.0
    • test
    • None
    • Reviewed

    Description

      https://builds.apache.org/job/PreCommit-HBASE-Build/1365/artifact/patchprocess/patch-unit-hbase-server.txt :

      negativeForMajor(org.apache.hadoop.hbase.regionserver.TestDateTieredCompactionPolicy)  Time elapsed: 0.48 sec  <<< FAILURE!
      java.lang.AssertionError: expected:<true> but was:<false>
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.failNotEquals(Assert.java:834)
      	at org.junit.Assert.assertEquals(Assert.java:118)
      	at org.junit.Assert.assertEquals(Assert.java:144)
      	at org.apache.hadoop.hbase.regionserver.TestDateTieredCompactionPolicy.compactEquals(TestDateTieredCompactionPolicy.java:94)
      	at org.apache.hadoop.hbase.regionserver.TestDateTieredCompactionPolicy.negativeForMajor(TestDateTieredCompactionPolicy.java:301)
      

      Similar test failure occurred in master JDK 8 build as well (https://builds.apache.org/job/HBase-TRUNK_matrix/839/jdk=latest1.8,label=yahoo-not-h2/testReport/org.apache.hadoop.hbase.regionserver/TestDateTieredCompactionPolicy/negativeForMajor/).

      Since TestDateTieredCompactionPolicy is a small test, its failure prevented large tests from running.

      Attachments

        1. 15634.v3.patch
          2 kB
          Ted Yu
        2. 15634.v2.patch
          2 kB
          Ted Yu
        3. HBASE-15634.patch
          1 kB
          Duo Zhang
        4. 15634.v1.patch
          1 kB
          Ted Yu

        Activity

          People

            zhangduo Duo Zhang
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: