Skip to content

Commit

Permalink
HBASE-26184 TestTableSnapshotScanner.testMergeRegion error message is… (
Browse files Browse the repository at this point in the history
#3572)

Signed-off-by: Michael Stack <[email protected]>
Signed-off-by: Duo Zhang <[email protected]>
  • Loading branch information
wchevreuil authored Aug 20, 2021
1 parent d4593ce commit 6bb5701
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -460,9 +460,7 @@ public void testMergeRegion() throws Exception {
}
} catch (Exception e) {
LOG.error("scan snapshot error", e);
Assert.fail("Should not throw FileNotFoundException");
Assert.assertTrue(e.getCause() != null);
Assert.assertTrue(e.getCause().getCause() instanceof FileNotFoundException);
Assert.fail("Should not throw Exception: " + e.getMessage());
} finally {
tearDownCluster();
}
Expand Down

0 comments on commit 6bb5701

Please sign in to comment.