Parallelize tests

2009-06-20 Thread Jason Rutherglen
I was looking at how to parallelize the tests, seems like this ANT command would work, is there an open issue to do this? http://ant.apache.org/manual/CoreTasks/parallel.html

Re: Parallelize tests

2009-06-20 Thread Michael McCandless
We've touched on this before: http://www.gossamer-threads.com/lists/lucene/java-dev/69669 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 "-Dtest

Re: Parallelize tests

2009-06-20 Thread Mark Miller
I was looking at the ant parallelize stuff too - I think that only the very latest release has the built in parallelize tests functionality though. Just came out a bit ago. - Mark Michael McCandless wrote: We've touched on this before: http://www.gossamer-threads.com/lists/lucene

[jira] Updated: (LUCENE-1709) Parallelize Tests

2009-06-21 Thread Jason Rutherglen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason Rutherglen updated LUCENE-1709: - Summary: Parallelize Tests (was: Parallize Tests) > Parallelize Te

[jira] Commented: (LUCENE-1709) Parallelize Tests

2009-06-24 Thread Jason Rutherglen (JIRA)
p the chain to Parallel, that might work? > Parallelize Tests > - > > Key: LUCENE-1709 > URL: https://issues.apache.org/jira/browse/LUCENE-1709 > Project: Lucene - Java > Issue Type: Improvement > C

[jira] Commented: (LUCENE-1709) Parallelize Tests

2009-06-24 Thread Jason Rutherglen (JIRA)
create a ParallelJUnitTask that extends JUnitTask and accepts a threadCount property. We can reuse code from the threading code from Parallel. > Parallelize Tests > - > > Key: LUCENE-1709 > URL: https://issues.apache.org

[jira] Commented: (LUCENE-1709) Parallelize Tests

2009-06-24 Thread Hoss Man (JIRA)
(contrib crawl can't be parallelized in the general case because some contribs have dependencies on other contribs and build them if they aren't already built) > Parallelize Tests > - > > Key: LUCENE-1709 > URL:

[jira] Commented: (LUCENE-1709) Parallelize Tests

2009-06-24 Thread Jason Rutherglen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12723867#action_12723867 ] Jason Rutherglen commented on LUCENE-1709: -- Thanks for the links! > Para

[jira] Commented: (LUCENE-1709) Parallelize Tests

2009-06-25 Thread Jason Rutherglen (JIRA)
e most obvious solution belongs in the the ant world. However I still hold out some hope for a custom interim solution. > Parallelize Tests > - > > Key: LUCENE-1709 > URL: https://issues.apache.org/jira/browse/LUCENE-1709 >

[jira] Commented: (LUCENE-1709) Parallelize Tests

2009-06-25 Thread Johan Kindgren (JIRA)
ins/maven-surefire-plugin/examples/testng.html Look at running tests in parallel. I havent tried this yet, but why spend time reinventing the wheel? > Parallelize Tests > - > > Key: LUCENE-1709 > URL: https://issues.apache.org

[jira] Commented: (LUCENE-1709) Parallelize Tests

2009-06-25 Thread Jason Rutherglen (JIRA)
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/LUCE

[jira] Commented: (LUCENE-1709) Parallelize Tests

2009-06-26 Thread Johan Kindgren (JIRA)
time left when running with five threads. Is it worth the development time and the complexity increase of the build? > Parallelize Tests > - > > Key: LUCENE-1709 > URL: https://issues.apache.org/jira/browse/LUCENE-1709 >

[jira] Commented: (LUCENE-1709) Parallelize Tests

2009-06-27 Thread Michael McCandless (JIRA)
laris (2009.06) machine, with a Core i7 920 CPU (= 8 cores presented to the OS) and an Intel X25M SSD, 12 GB RAM. The hardware has quite a bit of concurrency. > Parallelize Tests > - > > Key: LUCENE-1709 > URL: https://issues.apach

[jira] Updated: (LUCENE-1709) Parallelize Tests

2009-11-10 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-1709: -- Fix Version/s: (was: 3.0) 3.1 > Parallelize Te

[jira] Updated: (LUCENE-1709) Parallelize Tests

2010-02-21 Thread Michael McCandless (JIRA)
2.007975]: run "ant test-backwards -Dtestpackage=document"... 5 [0:02:38.017968]: run "ant test-core -Dtestpackage=queryParser"... 3 [0:02:40.097929]: run "ant test-backwards -Dtestpackage=queryParser"... 4 [0:02:40.151166]: DONE 0 [0:02:41.927786]: DONE 1 [0:02:43.07

[jira] Updated: (LUCENE-1709) Parallelize Tests

2010-03-07 Thread Robert Muir (JIRA)
tests in parallel (2 jvms per cpu) On my computer, 'test-core' is 1:02 and 'test' is 3:29 with the patch. Not ready for committing yet, and needs some improvements and fixes. > Parallelize Tests > - > > Key: LUCENE-1

[jira] Commented: (LUCENE-1709) Parallelize Tests

2010-03-09 Thread Jason Rutherglen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12843385#action_12843385 ] Jason Rutherglen commented on LUCENE-1709: -- Robert, very nice! > Para

[jira] Commented: (LUCENE-1709) Parallelize Tests

2010-03-23 Thread Robert Muir (JIRA)
a month by the way. > Parallelize Tests > - > > Key: LUCENE-1709 > URL: https://issues.apache.org/jira/browse/LUCENE-1709 > Project: Lucene - Java > Issue Type: Improvement > Components: Index >

[jira] Commented: (LUCENE-1709) Parallelize Tests

2010-03-23 Thread Mark Miller (JIRA)
find them unnecessary - and they complicate the build. And I would love to Lucene parallel like Solr now. > Parallelize Tests > - > > Key: LUCENE-1709 > URL: https://issues.apache.org/jira/browse/LUCENE-1709 >

[jira] Commented: (LUCENE-1709) Parallelize Tests

2010-03-23 Thread Michael McCandless (JIRA)
and committing parallel tests for Lucene too. > Parallelize Tests > - > > Key: LUCENE-1709 > URL: https://issues.apache.org/jira/browse/LUCENE-1709 > Project: Lucene - Java > Issue Type: Improvement >

[jira] Updated: (LUCENE-1709) Parallelize Tests

2010-03-26 Thread Robert Muir (JIRA)
ensure it is really correct. The patch does not do backwards in parallel (only core/contrib) Also, there is the TEMP_DIR problem i mentioned, which i haven't addressed here. > Parallelize Tests > - > > Key: LUCENE-1709 > URL: https

[jira] Updated: (LUCENE-1709) Parallelize Tests

2010-03-26 Thread Robert Muir (JIRA)
matter 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: Improvem

[jira] Updated: (LUCENE-1709) Parallelize Tests

2010-03-26 Thread Robert Muir (JIRA)
n 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 >

[jira] Updated: (LUCENE-1709) Parallelize Tests

2010-03-26 Thread Robert Muir (JIRA)
issue in the backwards tests. I think we are close, there are only two issues I want to address first: * Solr tests should do some uptodate check on lucene's test code * Benchmark's work directory for tests should be under tempDir > Parallelize Tests > - > &g

[jira] Updated: (LUCENE-1709) Parallelize Tests

2010-03-26 Thread Robert Muir (JIRA)
, as solr tests use this code... really outside the scope of this issue, but it will cause confusion if people have to 'ant clean' after the commit. > Parallelize Tests > - > > Key: LUCENE-1709 > URL: https://issues.apache.or

[jira] Commented: (LUCENE-1709) Parallelize Tests

2010-03-26 Thread Uwe Schindler (JIRA)
make sure that solr tests detect when lucene core test code is out of date, as solr tests use this code... really outside the scope of this issue, but it will cause confusion if people have to 'ant clean' after the commit. The ANT specialist will look into this! >

[jira] Commented: (LUCENE-1709) Parallelize Tests

2010-03-26 Thread Robert Muir (JIRA)
this! Ok, thanks uwe. I will commit this shortly, and send a note to both dev lists mentioning to run ant clean for the time being for any old checkouts. I think most people will prefer shaving minutes off their test time for a one time-clean... unless anyone objects! > Paralleliz

[jira] Assigned: (LUCENE-1709) Parallelize Tests

2010-03-26 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir reassigned LUCENE-1709: --- Assignee: Robert Muir > Parallelize Tests > - > >

[jira] Resolved: (LUCENE-1709) Parallelize Tests

2010-03-26 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir resolved LUCENE-1709. - Resolution: Fixed Committed revision 928069. > Parallelize Te

[jira] Reopened: (LUCENE-1709) Parallelize Tests

2010-03-31 Thread Robert Muir (JIRA)
he default threads-per-cpu to 1 by default, and allow it to be configurable via sysprop. i think these apply to solr too, so i'm proposing fixing both the build.xml's > Parallelize Tests > - > > Key: LUCENE-1709 > URL: ht

[jira] Commented: (LUCENE-1709) Parallelize Tests

2010-04-06 Thread Shai Erera (JIRA)
run sequentially (by adding the property). Robert, are you going to tackle that soon? > Parallelize Tests > - > > Key: LUCENE-1709 > URL: https://issues.apache.org/jira/browse/LUCENE-1709 > Project: Lucene - Java

[jira] Updated: (LUCENE-1709) Parallelize Tests

2010-04-07 Thread Shai Erera (JIRA)
st to generate a patch out of them, so they don't get lost. The patch doesn't cover the ant .jars, only the changes to common-build.xml as well as benchmark/build.xml > Parallelize Tests > - > > Key: LUCENE-1709 > URL: https:/

[jira] Commented: (LUCENE-1709) Parallelize Tests

2010-04-08 Thread Tom Burton-West (JIRA)
exceed, wordpad open. The tests are taking 98-99.9% of my cpu while hanging. I suspect there is some kind of resource issue when running the tests in parallel. Tom Burton-West > Parallelize Tests > - > > Key: LUCENE-1709 > URL: htt

[jira] Commented: (LUCENE-1709) Parallelize Tests

2010-04-08 Thread Robert Muir (JIRA)
;t gotten to fix this yet. Shai, would you mind committing your patch? we can keep the issue open to add the sysprop and fix the ant jar thing, and apply the same fixes to Solr's build.xml > Parallelize Tests > - > > Key: LUCENE-1709 &g

[jira] Commented: (LUCENE-1709) Parallelize Tests

2010-04-08 Thread Tom Burton-West (JIRA)
.java:428) [junit] at java.lang.Thread.run(Thread.java:619) > Parallelize Tests > - > > Key: LUCENE-1709 > URL: https://issues.apache.org/jira/browse/LUCENE-1709 > Project: Lucene - Java > Issue Type: Imp

[jira] Commented: (LUCENE-1709) Parallelize Tests

2010-04-08 Thread Robert Muir (JIRA)
d to Shai. Can you try his patch and see if it fixed the problem for you? > Parallelize Tests > - > > Key: LUCENE-1709 > URL: https://issues.apache.org/jira/browse/LUCENE-1709 > Project: Lucene - Java >

[jira] Commented: (LUCENE-1709) Parallelize Tests

2010-04-08 Thread Shai Erera (JIRA)
rces junit to use a separate temp folder per thread, it still hung ... > Parallelize Tests > - > > Key: LUCENE-1709 > URL: https://issues.apache.org/jira/browse/LUCENE-1709 > Project: Lucene - Java >

[jira] Commented: (LUCENE-1709) Parallelize Tests

2010-04-08 Thread Tom Burton-West (JIRA)
1708 and ran "ant clean test-contribute" and the tests ran just fine. The patch seems to have solved the problem. Tom > Parallelize Tests > - > > Key: LUCENE-1709 > URL: https://issues.apache.org/jira/browse/LUCENE-1709

[jira] Commented: (LUCENE-1709) Parallelize Tests

2010-04-11 Thread Robert Muir (JIRA)
sion 932857... will handle these one at a time. > Parallelize Tests > - > > Key: LUCENE-1709 > URL: https://issues.apache.org/jira/browse/LUCENE-1709 > Project: Lucene - Java > Issue Type: Improvement >

[jira] Commented: (LUCENE-1709) Parallelize Tests

2010-04-11 Thread Shai Erera (JIRA)
wing: # benchmark tests force sequential run # threadsPerProcessor defaults to 1 and can be overridden by -DthreadsPerProcessor= # A CHANGES entry > Parallelize Tests > - > > Key: LUCENE-1709 > URL: https://issues.apache.org/jira

[jira] Resolved: (LUCENE-1709) Parallelize Tests

2010-04-13 Thread Robert Muir (JIRA)
nt and src/test. > Parallelize Tests > - > > Key: LUCENE-1709 > URL: https://issues.apache.org/jira/browse/LUCENE-1709 > Project: Lucene - Java > Issue Type: Improvement > Components: Index >Aff

Re: [jira] Commented: (LUCENE-1709) Parallelize Tests

2009-06-25 Thread Mark Miller
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 Typ

Re: [jira] Commented: (LUCENE-1709) Parallelize Tests

2009-06-25 Thread Mark Miller
t 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

Re: [jira] Commented: (LUCENE-1709) Parallelize Tests

2009-06-25 Thread Mark Miller
'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 w

Re: [jira] Commented: (LUCENE-1709) Parallelize Tests

2009-06-25 Thread Jason Rutherglen
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. &