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

Fix flaky TestSnapshotFromMaster

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-alpha-1, 2.3.0, 2.2.3, 2.1.9
    • Component/s: None
    • Labels:
      None

      Description

      testAsyncSnapshotWillNotBlockSnapshotHFileCleaner is flaky.  The assert may fail.

      assertTrue(master.getSnapshotManager().isTakingAnySnapshot());
      future.get(); // in branch-2.2, here is Thread.sleep
      assertFalse(master.getSnapshotManager().isTakingAnySnapshot());
      

      See https://builds.apache.org/job/HBase-Flaky-Tests/job/master/5227/testReport/junit/org.apache.hadoop.hbase.master.cleaner/TestSnapshotFromMaster/testAsyncSnapshotWillNotBlockSnapshotHFileCleaner/

       

      https://builds.apache.org/view/H-L/view/HBase/job/HBase-Find-Flaky-Tests/job/branch-2.2/lastSuccessfulBuild/artifact/dashboard.html

        Attachments

        1. HBASE-23658.branch-2.2.001.patch
          1 kB
          Guanghao Zhang

          Issue Links

            Activity

              People

              • Assignee:
                zghao Guanghao Zhang
                Reporter:
                zghao Guanghao Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: