Wellington Chevreuil created HBASE-26184:
--------------------------------------------

             Summary: TestTableSnapshotScanner.testMergeRegion error message is 
misleading.
                 Key: HBASE-26184
                 URL: https://issues.apache.org/jira/browse/HBASE-26184
             Project: HBase
          Issue Type: Bug
            Reporter: Wellington Chevreuil
            Assignee: Wellington Chevreuil


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)

Reply via email to