You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Wellington Chevreuil (Jira)" <ji...@apache.org> on 2021/08/20 09:48:00 UTC
[jira] [Resolved] (HBASE-26184)
TestTableSnapshotScanner.testMergeRegion error message is misleading.
[ https://issues.apache.org/jira/browse/HBASE-26184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wellington Chevreuil resolved HBASE-26184.
------------------------------------------
Resolution: Fixed
Merged to master branch.
> TestTableSnapshotScanner.testMergeRegion error message is misleading.
> ---------------------------------------------------------------------
>
> Key: HBASE-26184
> URL: https://issues.apache.org/jira/browse/HBASE-26184
> Project: HBase
> Issue Type: Bug
> Affects Versions: 3.0.0-alpha-1, 2.4.5
> Reporter: Wellington Chevreuil
> Assignee: Wellington Chevreuil
> Priority: Minor
> Fix For: 3.0.0-alpha-2
>
>
> In case of any exception thrown, this test wrongly reports a FNFE:
> {noformat}
> ...
> } 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);
> } finally {
> ...{noformat}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)