You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Owen O'Malley (JIRA)" <ji...@apache.org> on 2006/03/10 01:24:39 UTC

[jira] Updated: (HADOOP-70) the two file system tests TestDFS and TestFileSystem take too long

     [ http://issues.apache.org/jira/browse/HADOOP-70?page=all ]

Owen O'Malley updated HADOOP-70:
--------------------------------

    Attachment: junit-conf.patch

This patch creates a config directory for the junit tests that forces mapreduce and dfs to "local". It also renames TestDFS to ClusterTestDFS and creates a new ant target "cluster-test" that runs with the real config directory instead of the junit config.

> 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
>  Attachments: junit-conf.patch
>
> 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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira