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

FileSystem contract tests to replace JUnit 3 with 4

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha4
    • fs

    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.000.patch
          40 kB
          Xiaobing Zhou
        2. HADOOP-14180.001.patch
          41 kB
          Mingliang Liu
        3. HADOOP-14180.002.patch
          47 kB
          Xiaobing Zhou
        4. HADOOP-14180.003.patch
          47 kB
          Xiaobing Zhou

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: