lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dawid Weiss <dawid.we...@cs.put.poznan.pl>
Subject Re: [JENKINS] Lucene-Solr-trunk-Linux (32bit/jdk1.7.0_51) - Build # 9828 - Failure!
Date Wed, 26 Mar 2014 09:07:54 GMT
The problem may be that if there are open file handles then these folders
can't be removed by the JVM that created them until the process dies.

I see a few solutions.

1) I assume you're running ant clean in jenkins before any tests commence;
so the buildup of stale files should be at most for a single run.

2) you can 'terminate tests early' instead of trying to run all tests (and
possibly have multiple failures, each leaving a trail of poop behind. This
can be done by:

# Repeats N times but skips any tests after the first failure or M
# initial failures.
ant test -Dtests.iters=N -Dtests.failfast=yes -Dtestcase=...
ant test -Dtests.iters=N -Dtests.maxfailures=M -Dtestcase=...

So if you add -Dtests.maxfailures=1 then only a single Solr test would
actually leave those temporary files. Would this help?

Dawid

Mime
View raw message