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

some integration tests can no longer be run using maven

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.96.0
    • Fix Version/s: 0.98.0, 0.96.1
    • Component/s: test
    • Labels:
      None

      Description

      When I run mvn test (or verify) - Dtest=IntegrationTestIngest, the test fails instantly, seemingly because initialization doesn't run. I am assuming junit is not picking before-after methods from the superclass, could be some other issue.

      Also, if it does run, it won't be very useful because it runs with calm monkey by default.
      We need to detect being run locally rather than as AbstractHBaseTool (probably any time JUnit-annotated methods like Before are called), and set up a different chaos monkey, such as an old default one.

      May also apply to other tests.

        Attachments

        1. HBASE-9659-v0-0.96.patch
          11 kB
          Sergey Shelukhin
        2. HBASE-9659-v0.patch
          11 kB
          Sergey Shelukhin

          Activity

            People

            • Assignee:
              sershe Sergey Shelukhin
              Reporter:
              sershe Sergey Shelukhin
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: