hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8444) Fix the tests FSMainOperationsBaseTest.java and F ileContextMainOperationsBaseTest.java to avoid potential test failure
Date Tue, 29 May 2012 15:21:23 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-8444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13284875#comment-13284875
] 

Hudson commented on HADOOP-8444:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #2313 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2313/])
    HADOOP-8444. Fix the tests FSMainOperationsBaseTest.java and FileContextMainOperationsBaseTest.java
to avoid potential test failure. Contributed by Madhukara Phatak. (harsh) (Revision 1343732)

     Result = FAILURE
harsh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1343732
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/FSMainOperationsBaseTest.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/FileContextMainOperationsBaseTest.java

                
> Fix the tests FSMainOperationsBaseTest.java and F ileContextMainOperationsBaseTest.java
to avoid potential test failure
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8444
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8444
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs, test
>    Affects Versions: 2.0.0-alpha
>            Reporter: Mariappan Asokan
>         Attachments: HDFS-3459.patch
>
>
> 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:
> {code}
> if(file.getName().contains("x") || file.toString().contains("X"))
> {code}
> It should be corrected to:
> {code}
> if(file.getName().contains("x") || file.getName().contains("X"))
> {code}
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message