You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by wc...@apache.org on 2021/08/20 09:45:53 UTC
[hbase] branch master updated: HBASE-26184 TestTableSnapshotScanner.testMergeRegion error message is… (#3572)
This is an automated email from the ASF dual-hosted git repository.
wchevreuil pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/master by this push:
new 6bb5701 HBASE-26184 TestTableSnapshotScanner.testMergeRegion error message is… (#3572)
6bb5701 is described below
commit 6bb57017837233dc8a11faf36be977aeb48318d2
Author: Wellington Ramos Chevreuil <wc...@apache.org>
AuthorDate: Fri Aug 20 10:45:16 2021 +0100
HBASE-26184 TestTableSnapshotScanner.testMergeRegion error message is… (#3572)
Signed-off-by: Michael Stack <st...@apache.org>
Signed-off-by: Duo Zhang <zh...@apache.org>
---
.../java/org/apache/hadoop/hbase/client/TestTableSnapshotScanner.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestTableSnapshotScanner.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestTableSnapshotScanner.java
index 87f7b73..8fc26bb 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestTableSnapshotScanner.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestTableSnapshotScanner.java
@@ -460,9 +460,7 @@ public class TestTableSnapshotScanner {
}
} 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();
}