Improve parallel tests
----------------------

                 Key: LUCENE-2419
                 URL: https://issues.apache.org/jira/browse/LUCENE-2419
             Project: Lucene - Java
          Issue Type: Improvement
          Components: Build
    Affects Versions: 3.1
            Reporter: Robert Muir
            Assignee: Robert Muir


As mentioned on the dev@ mailing list here: 
http://www.lucidimagination.com/search/document/93432a677917b9bd/lucenejunitresultformatter_sometimes_fails_to_lock

It would be useful to not create a lockfactory for each test suite (As they are 
run sequentially in the same separate JVM).
Additionally, we create a lot of JVMs (26) for each batch, because we have to 
run one for each letter.
Instead, we use a technique here to divide up the tests with a custom selector: 
http://blog.code-cop.org/2009/09/parallel-junit.html
(I emailed the blog author and received permission to use this code)

This gives a nice boost to the speed of overall tests, especially Solr tests, 
as many start with an "S", but this is no longer a problem.



-- 
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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to