Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14180

FileSystem contract tests to replace JUnit 3 with 4

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-alpha4
    • Component/s: fs
    • Labels:

      Description

      This is from discussion in HADOOP-14170, as Steve commented:

      ...it's time to move this to JUnit 4, annotate all tests with @test, and make the test cases skip if they don't have the test FS defined. JUnit 3 doesn't support Assume, so when I do test runs without the s3n or s3 fs specced, I get lots of errors I just ignore.
      ...Move to Junit 4, and, in our own code, find everywhere we've subclassed a method to make the test a no-op, and insert an Assume.assumeTrue(false) in there so they skip properly.

        Attachments

        1. HADOOP-14180.003.patch
          47 kB
          Xiaobing Zhou
        2. HADOOP-14180.002.patch
          47 kB
          Xiaobing Zhou
        3. HADOOP-14180.001.patch
          41 kB
          Mingliang Liu
        4. HADOOP-14180.000.patch
          40 kB
          Xiaobing Zhou

          Issue Links

            Activity

              People

              • Assignee:
                xiaobingo Xiaobing Zhou
                Reporter:
                liuml07 Mingliang Liu
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: