[ https://issues.apache.org/jira/browse/HBASE-23658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guanghao Zhang resolved HBASE-23658. ------------------------------------ Resolution: Fixed > Fix flaky TestSnapshotFromMaster > -------------------------------- > > Key: HBASE-23658 > URL: https://issues.apache.org/jira/browse/HBASE-23658 > Project: HBase > Issue Type: Bug > Reporter: Guanghao Zhang > Assignee: Guanghao Zhang > Priority: Major > Fix For: 3.0.0, 2.3.0, 2.2.3, 2.1.9 > > Attachments: HBASE-23658.branch-2.2.001.patch > > > testAsyncSnapshotWillNotBlockSnapshotHFileCleaner is flaky. The assert may > fail. > {code:java} > assertTrue(master.getSnapshotManager().isTakingAnySnapshot()); > future.get(); // in branch-2.2, here is Thread.sleep > assertFalse(master.getSnapshotManager().isTakingAnySnapshot()); > {code} > 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] -- This message was sent by Atlassian Jira (v8.3.4#803005)