Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-2876

The unit tests (src/test/unit) are not being compiled and are not runnable

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 0.23.0
    • Fix Version/s: None
    • Component/s: test
    • Labels:
      None

      Description

      The unit tests (src/test/unit not src/test/java) are not being compiled and are not runnable. mvn -Dtest=TestBlockRecovery test executed from hadoop-hdfs-project does not compile or execute the test.
      TestBlockRecovery does not compile yet this test target completes w/o error.

        Issue Links

          Activity

          Todd Lipcon made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Duplicate [ 3 ]
          Hide
          Todd Lipcon added a comment -

          oops, I realized I already filed this, see HDFS-2276.

          Show
          Todd Lipcon added a comment - oops, I realized I already filed this, see HDFS-2276 .
          Todd Lipcon made changes -
          Field Original Value New Value
          Link This issue duplicates HDFS-2276 [ HDFS-2276 ]
          Hide
          Todd Lipcon added a comment -

          I vote we just move these "unit" tests back into the main tree, and use junit 4.5 category annotations to mark the ones that are true unit tests. Surefire 2.11 supports test categories via http://jira.codehaus.org/browse/SUREFIRE-329 so if we upgrade to that build we can still have a separate target for the unit tests.

          Show
          Todd Lipcon added a comment - I vote we just move these "unit" tests back into the main tree, and use junit 4.5 category annotations to mark the ones that are true unit tests. Surefire 2.11 supports test categories via http://jira.codehaus.org/browse/SUREFIRE-329 so if we upgrade to that build we can still have a separate target for the unit tests.
          Eli Collins created issue -

            People

            • Assignee:
              Unassigned
              Reporter:
              Eli Collins
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development