Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.0-alpha
-
None
-
Reviewed
Description
The above mentioned tests have a path filter to filter file names that contain either the string "x" or "X". The filter contains the following if statement:
if(file.getName().contains("x") || file.toString().contains("X"))
It should be corrected to:
if(file.getName().contains("x") || file.getName().contains("X"))
Note that toString() returns the full path name. These tests will fail when a directory name contains the string "X" and the base file name does not. This was the case when we ran the tests on our system.
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-9624 TestFSMainOperationsLocalFileSystem failed when the Hadoop test root path has "X" in its name
- Closed