HBASE-26184 TestTableSnapshotScanner.testMergeRegion error message is… (#3572)
Signed-off-by: Michael Stack <stack@apache.org> Signed-off-by: Duo Zhang <zhangduo@apache.org>
This commit is contained in:
parent
d4593ce8c5
commit
6bb5701783
|
@ -460,9 +460,7 @@ public class TestTableSnapshotScanner {
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
LOG.error("scan snapshot error", e);
|
LOG.error("scan snapshot error", e);
|
||||||
Assert.fail("Should not throw FileNotFoundException");
|
Assert.fail("Should not throw Exception: " + e.getMessage());
|
||||||
Assert.assertTrue(e.getCause() != null);
|
|
||||||
Assert.assertTrue(e.getCause().getCause() instanceof FileNotFoundException);
|
|
||||||
} finally {
|
} finally {
|
||||||
tearDownCluster();
|
tearDownCluster();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue