[ 
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, run the same commands before applying the patch:
{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}

Mark fixed the interleaved output here, so this is good.
But, there is a problem in that we change java.io.tmpdir in tests, so we cannot 
use it
for the lock file. So if we fix tests to only use "tempDir", then we are ok 
with the formatter,
as it can just use java.io.tmpdir for its lock file.




> 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, 
> 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