Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
Reviewed
Description
For example:
testFileNameEncoding(org.apache.hadoop.hdfs.TestHftpFileSystem): Filesystem closed
testDataNodeRedirect(org.apache.hadoop.hdfs.TestHftpFileSystem): Filesystem closed
This test case sets up a filesystem that is used by the first half of the test methods (in declaration order), but the second half of the tests start by calling FileSystem.closeAll. With JDK7, test methods are run in an arbitrary order, so if any first half methods run after any second half methods, they fail.