Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-26184

TestTableSnapshotScanner.testMergeRegion error message is misleading.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha-1, 2.4.5
    • Fix Version/s: 3.0.0-alpha-2
    • Component/s: None
    • Labels:
      None

      Description

      In case of any exception thrown, this test wrongly reports a FNFE:

      ... 
          } 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 {
      ...

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wchevreuil Wellington Chevreuil
                Reporter:
                wchevreuil Wellington Chevreuil
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: