You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2010/05/06 13:46:48 UTC
[jira] Resolved: (LUCENE-2419) Improve parallel tests
[ https://issues.apache.org/jira/browse/LUCENE-2419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir resolved LUCENE-2419.
---------------------------------
Resolution: Fixed
backported to 3.x, rev 941677
> 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
> Fix For: 3.1, 4.0
>
> Attachments: LUCENE-2419.patch
>
>
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org