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

Tsz Wo (Nicholas), SZE commented on HADOOP-5256:
------------------------------------------------

> One example that violates this is 
> src/test/org/apache/hadoop/fs/FileSystemContractBaseTest.java. Is this on 
> purpose to that it's not run automatically? Are there other tests like this?

I believe this is on purpose.  FileSystemContractBaseTest is an abstract base 
class providing codes for testing general file system contract.  
FileSystemContractBaseTest  itself is not a test.  For testing an individual 
FileSystem subclass (e.g. DistributedFileSystem), we only has to define a test 
class (e.g. TestHDFSFileSystemContract) extending FileSystemContractBaseTest.

> Some tests not run by default
> -----------------------------
>
>                 Key: HADOOP-5256
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5256
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: build, test
>            Reporter: Nigel Daley
>            Assignee: gary murry
>             Fix For: 0.21.0
>
>
> To be run by the 'test' target, test file names must start with "Test" and 
> end in ".java".  One example that violates this is 
> src/test/org/apache/hadoop/fs/FileSystemContractBaseTest.java.  Is this on 
> purpose to that it's not run automatically?  Are there other tests like this?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to