You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@lucene.apache.org by rm...@apache.org on 2010/04/13 12:45:43 UTC

svn commit: r933541 - in /lucene/dev/trunk/solr: build.xml common-build.xml

Author: rmuir
Date: Tue Apr 13 10:45:43 2010
New Revision: 933541

URL: http://svn.apache.org/viewvc?rev=933541&view=rev
Log:
LUCENE-1709: respect this variable for solr, too. for now keep the default at 2

Modified:
    lucene/dev/trunk/solr/build.xml
    lucene/dev/trunk/solr/common-build.xml

Modified: lucene/dev/trunk/solr/build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/build.xml?rev=933541&r1=933540&r2=933541&view=diff
==============================================================================
--- lucene/dev/trunk/solr/build.xml (original)
+++ lucene/dev/trunk/solr/build.xml Tue Apr 13 10:45:43 2010
@@ -390,7 +390,7 @@
   </target>
 
   <target name="junit-parallel" unless="runsequential">
-   <parallel threadsPerProcessor="2">
+   <parallel threadsPerProcessor="${threadsPerProcessor}">
     <junit-macro pattern="S"/>
     <junit-macro pattern="D"/>
     <junit-macro pattern="A"/>

Modified: lucene/dev/trunk/solr/common-build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/common-build.xml?rev=933541&r1=933540&r2=933541&view=diff
==============================================================================
--- lucene/dev/trunk/solr/common-build.xml (original)
+++ lucene/dev/trunk/solr/common-build.xml Tue Apr 13 10:45:43 2010
@@ -41,6 +41,9 @@
   <!-- default arguments to pass to jvm executing tests -->
   <property name="args" value="" />
 
+  <!-- TODO: measure toning this down by default to 1 -->
+  <property name="threadsPerProcessor" value="2"/>
+
   <!-- Example directory -->
   <property name="example" value="${common-solr.dir}/example" />
   <!--