You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Mingliang Liu (JIRA)" <ji...@apache.org> on 2017/03/13 22:23:41 UTC

[jira] [Created] (HADOOP-14180) FileSystem contract tests to replace JUnit 3 with 4

Mingliang Liu created HADOOP-14180:
--------------------------------------

             Summary: FileSystem contract tests to replace JUnit 3 with 4
                 Key: HADOOP-14180
                 URL: https://issues.apache.org/jira/browse/HADOOP-14180
             Project: Hadoop Common
          Issue Type: Bug
          Components: fs
            Reporter: Mingliang Liu


This is from discussion in [HADOOP-14170], as Steve commented:
{quote}
...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.
{quote}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org