Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
Reviewed
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
Attachments
Issue Links
- breaks
-
HADOOP-14466 Remove useless document from TestAliyunOSSFileSystemContract.java
- Resolved
-
HADOOP-14494 ITestJets3tNativeS3FileSystemContract tests NPEs in teardown if store undefined
- Resolved
-
HADOOP-14458 Add missing imports to TestAliyunOSSFileSystemContract.java
- Resolved
- is depended upon by
-
HADOOP-14234 ADLS to implement FileSystemContractBaseTest
- Resolved
- is related to
-
HADOOP-14415 Use java.lang.AssertionError instead of junit.framework.AssertionFailedError
- Resolved
- relates to
-
HADOOP-14170 FileSystemContractBaseTest is not cleaning up test directory clearly
- Resolved