Apache Lucene open-source search software
LUCENE-1709: respect this variable for solr, too. for now keep the default at 2
Robert Muir29334f61cb2e
diff --git a/solr/build.xml b/solr/build.xmlindex 95aee103c09..07c462abba8 100644--- a/solr/build.xml+++ b/solr/build.xml@@ -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"/>diff --git a/solr/common-build.xml b/solr/common-build.xmlindex f0ee767b5ac..9fd8a3d802b 100644--- a/solr/common-build.xml+++ b/solr/common-build.xml@@ -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" /><!--