hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HADOOP-70) the two file system tests TestDFS and TestFileSystem take too long
Date Mon, 13 Mar 2006 20:31:39 GMT
     [ 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


Mime
View raw message