Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-549

Allow non fault-inject specific tests execution with an explicit -Dtestcase=... setting

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.21.0
    • Fix Version/s: 0.21.0
    • Component/s: build
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      It is currently impossible to run non fault-injection tests with fault-injected build. E.g.

        ant run-test-hdfs-fault-inject -Dtestcase=TestFileCreation
      

      because macro-test-runner does look for a specified test case only under src/test/aop folder if a fault injection tests are ran. This render the use of non fault injection tests impossible in the FI environment.

        Attachments

        1. HDFS-549.patch
          2 kB
          Konstantin Boudnik
        2. HDFS-549.patch
          0.8 kB
          Konstantin Boudnik
        3. HDFS-549.patch
          0.5 kB
          Konstantin Boudnik

          Issue Links

            Activity

              People

              • Assignee:
                cos Konstantin Boudnik
                Reporter:
                cos Konstantin Boudnik
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: