There's this foreach parallel ant-contrib task. Perhaps we have a winner! http://www.jadeliquid.com/liquidtest/docs/doku.php?id=developers:cookbooks:scaling_liquidtest_with_junit_parallel:home
http://ant-contrib.sourceforge.net/tasks/tasks/foreach.html On Thu, Jun 25, 2009 at 7:14 PM, Mark Miller <markrmil...@gmail.com> wrote: > JUnit also supports parallelizing tasks, but its only in the very latest > release. I'd check out that. There are generally more issues than just > firing off multiple tests at once. > > -- > - Mark > > http://www.lucidimagination.com > > > > > Jason Rutherglen (JIRA) wrote: > >> [ >> https://issues.apache.org/jira/browse/LUCENE-1709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724325#action_12724325] >> Jason Rutherglen commented on LUCENE-1709: >> ------------------------------------------ >> >> {quote} Do you mean that you would implement your own task? In >> which module would you put this custom ant task? {quote} >> >> Yes, seems creating a custom task should work? In contrib/ant? >> Last time I tried to use Maven I couldn't get it to work (was >> running into a bug) so my knowledge isn't very good. We're using >> ant and ivy for our webapp dev. I don't know what Lucene's >> position is on Maven, but am interested pursuing whatever makes >> sense. >> >> >> >>> 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.0 >>> >>> 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} >>> >>> >> >> >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-dev-h...@lucene.apache.org > >