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-408) Unit tests take too long to run.
Date Wed, 06 Sep 2006 20:49:24 GMT
     [ http://issues.apache.org/jira/browse/HADOOP-408?page=all ]

Doug Cutting resolved HADOOP-408.

    Fix Version/s: 0.6.0
       Resolution: Fixed

I just committed a partial patch for this.  With these changes, the total time for unit tests
is down from over nine minutes to under six minutes.

> Unit tests take too long to run.
> --------------------------------
>                 Key: HADOOP-408
>                 URL: http://issues.apache.org/jira/browse/HADOOP-408
>             Project: Hadoop
>          Issue Type: Wish
>    Affects Versions: 0.4.0
>            Reporter: Doug Cutting
>            Priority: Minor
>             Fix For: 0.6.0
> Several of the unit tests take over a minute to run.  I suspect most of this time is
waiting for daemons to stop.  Perhaps we can restructure daemon shutdown in the test frameworks
so that all daemons are first asked to shutdown, and then wait for the actual shutdown of
all daemons in the TestCase's tearDown() method.  Also, we might try to combine some unit
tests that require the same daemons under a single TestCase caller, so that they share setup/tearDown
costs.  Or we could try to simply make daemon shutdowns faster.

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


View raw message