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 "Doug Cutting (JIRA)" <ji...@apache.org> on 2006/03/13 21:31:39 UTC

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

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

    Fix Version: 0.1
     Resolution: Fixed

I just committed this.

I changed things so that the test config files are in src/test rather than conf/junit.  That's the way Nutch does something similar, and it also requires a less classpath manipulation, since src/test is already on the test classpath (although I had to reorder things, to make sure it came ahead of conf/).  I also changed the conf files in src/test to be empty, forcing defaults to be used for unit tests.  Finally, to implement the test-cluster task, instead of copying the test task I parameterized the test task a bit and call it.

> 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
>     Assignee: Owen O'Malley
>      Fix For: 0.1
>  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