[ 
https://issues.apache.org/jira/browse/LUCENE-1709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

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:
{noformat}
svn move solr/src/test/org/apache/solr/SolrJUnitResultFormatter.java 
lucene/src/test/org/apache/lucene/util/LuceneJUnitResultFormatter.java
svn copy lucene/src/test/org/apache/lucene/util/LuceneJUnitResultFormatter.java 
lucene/backwards/src/test/org/apache/lucene/util/LuceneJUnitResultFormatter.java
{noformat}

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

> Parallelize Tests
> -----------------
>
>                 Key: LUCENE-1709
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1709
>             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, 
> runLuceneTests.py
>
>   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: 
> http://ant.apache.org/manual/CoreTasks/parallel.html
> Previous discussion: 
> http://www.gossamer-threads.com/lists/lucene/java-dev/69669
> 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: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to