Hadoop Common
  1. Hadoop Common
  2. HADOOP-6347

run-test-core-fault-inject runs a test case twice if -Dtestcase is set

    Details

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

      Description

      When a testcase is specified through -Dtestcase= and run-test-core-fault-inject is executed then the same test case is ran twice. Apparently it has to be executed only one time.

      Also, it seems to be excessive to search for a fault injection test when run-fault-inject-with-testcaseonly is executed.

      1. HADOOP-6347.patch
        2 kB
        Konstantin Boudnik
      2. HADOOP-6347.patch
        2 kB
        Konstantin Boudnik
      3. HADOOP-6347.patch
        2 kB
        Konstantin Boudnik

        Issue Links

          Activity

          Konstantin Boudnik created issue -
          Konstantin Boudnik made changes -
          Field Original Value New Value
          Link This issue is related to HADOOP-6204 [ HADOOP-6204 ]
          Konstantin Boudnik made changes -
          Description When a testcase is specified through {{-Dtestcase=}} and {{run-test-core-fault-inject}} is executed then the same test case is ran twice. Apparently it has to be executed only one time. When a testcase is specified through {{-Dtestcase=}} and {{run-test-core-fault-inject}} is executed then the same test case is ran twice. Apparently it has to be executed only one time.

          Also, it seems to be excessive to search for a fault injection test when {{run-fault-inject-with-testcaseonly}} is executed.
          Konstantin Boudnik made changes -
          Attachment HADOOP-6347.patch [ 12423737 ]
          Konstantin Boudnik made changes -
          Attachment HADOOP-6347.patch [ 12423751 ]
          Konstantin Boudnik made changes -
          Link This issue blocks HDFS-703 [ HDFS-703 ]
          Jakob Homan made changes -
          Hadoop Flags [Reviewed]
          Konstantin Boudnik made changes -
          Attachment HADOOP-6347.patch [ 12423854 ]
          Konstantin Boudnik made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Assignee Konstantin Boudnik [ cos ]
          Konstantin Boudnik made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Fix Version/s 0.21.0 [ 12313563 ]
          Fix Version/s 0.22.0 [ 12314296 ]
          Resolution Fixed [ 1 ]
          Tom White made changes -
          Fix Version/s 0.22.0 [ 12314296 ]
          Tom White made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development