lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] Updated: (LUCENE-1709) Parallelize Tests
Date Fri, 26 Mar 2010 17:08:27 GMT


Robert Muir updated LUCENE-1709:

    Attachment: LUCENE-1709.patch

attached is an updated patch, addressing some of the problems of the previous one:

Remaining "bugs":
* Solr's build.xml still doesnt yet detect that lucene's tests have changed, 
so you need to do 'ant clean' after this patch, so it will pick up the fact that 
the formatter was moved to Lucene's tests. This is a more general problem
we need to fix, so that updates to Lucene's test code reflect in Solr without cleaning.
* The output is still interleaved at times, we need the file locking to fix this.

before applying the patch, do this:
svn move solr/src/test/org/apache/solr/ lucene/src/test/org/apache/lucene/util/
svn copy lucene/src/test/org/apache/lucene/util/ lucene/backwards/src/test/org/apache/lucene/util/

This is because the backwards tests need the formatter too, as they are now also run in parallel.

> Parallelize Tests
> -----------------
>                 Key: LUCENE-1709
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Index
>    Affects Versions: 2.4.1
>            Reporter: Jason Rutherglen
>             Fix For: 3.1
>         Attachments: LUCENE-1709.patch, LUCENE-1709.patch, LUCENE-1709.patch,
>   Original Estimate: 48h
>  Remaining Estimate: 48h
> The Lucene tests can be parallelized to make for a faster testing system.  
> This task from ANT can be used:
> Previous discussion:
> Notes from Mike M.:
> {quote}
> I'd love to see a clean solution here (the tests are embarrassingly
> parallelizable, and we all have machines with good concurrency these
> days)... I have a rather hacked up solution now, that uses
> "-Dtestpackage=XXX" to split the tests up.
> Ideally I would be able to say "use N threads" and it'd do the right
> thing... like the -j flag to make.
> {quote}

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message