Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-1835: add a sysprop -Dsequential-tests=something that allows you to force tests to run sequentially

Robert Muir569216606e99
diff --git a/solr/build.xml b/solr/build.xml
index 3a9c53769c0..32a474518e5 100644
--- a/solr/build.xml
+++ b/solr/build.xml
@@ -376,7 +376,10 @@
depends="test-core, test-contrib" />
<condition property="runsequential">
- <isset property="testcase"/>
+ <or>
+ <isset property="testcase"/>
+ <isset property="sequential-tests"/>
+ </or>
</condition>
<target name="junit" depends="compileTests,dist-contrib,junit-mkdir,junit-sequential,junit-parallel"/>