hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen O'Malley (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-70) the two file system tests TestDFS and TestFileSystem take too long
Date Thu, 09 Mar 2006 18:30:39 GMT
    [ http://issues.apache.org/jira/browse/HADOOP-70?page=comments#action_12369698 ] 

Owen O'Malley commented on HADOOP-70:

That sounds reasonable. 

I think we need to go the next step and create a conf directory that is used for junit tests.
How about 
a conf/junit that contains hadoop-site.xml and mapred-defaults.xml. I'll change the test classpath
to include the real conf directory to pick up the hadoop-default.xml so that it doesn't need
to be duplicated.

Maybe instead of a "test-long" target it should be a "cluster-test" and it uses the real conf

In all cases, the command line version of the test should use the real conf directory.

> the two file system tests TestDFS and TestFileSystem take too long
> ------------------------------------------------------------------
>          Key: HADOOP-70
>          URL: http://issues.apache.org/jira/browse/HADOOP-70
>      Project: Hadoop
>         Type: Bug
>   Components: dfs
>     Reporter: Owen O'Malley

> Running "ant test" takes hours and uses the conf directory, which forces it to run on
the real cluster.
> I propose that we split rename the test classes from
> src/test/org/apache/hadoop/dfs/TestDFS.java to LongTestDFS.java
> src/test/org/apache/hadoop/fs/TestFileSystem.java to LongTestFileSystem.java
> and then we set up a new ant target "long-test" that runs all tests that match "**/LongTest*.java".

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message