www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Continuum - Commons Pool unit test is stuck (again)
Date Tue, 13 Sep 2011 09:18:08 GMT
On 2011-09-13, sebb wrote:

> In case it helps anyone else, I updated the pom as follows:

>           <artifactId>maven-surefire-plugin</artifactId>
>             <configuration>
>              <!-- Don't allow test to run for more than 30 minutes -->
>               <forkedProcessTimeoutInSeconds>1800</forkedProcessTimeoutInSeconds>

> This kills the test; however the output only reports the test class,
> not the individual method, and the surefire report file is empty.

> To get better info, add @Test(timeout=nnn) to all the likely culprits.

Just be careful to disable core dumps if you do something like this on a
Unix-like system.  We used to have a problem with a multitude of core
dumps for java processes filling up the disk of vmgump when surefire
killed forked processes.

Stefan

Mime
View raw message