Skip to content

Apache Lucene open-source search software

don't fork for every junit test

Robert Muirfb789b04f416
diff --git a/common-build.xml b/common-build.xml
index a2ad02b4a3a..c508852c52d 100644
--- a/common-build.xml
+++ b/common-build.xml
@@ -401,7 +401,7 @@
</condition>
<mkdir dir="@{junit.output.dir}"/>
<junit printsummary="off" haltonfailure="no" maxmemory="512M"
- errorProperty="tests.failed" failureProperty="tests.failed">
+ errorProperty="tests.failed" failureProperty="tests.failed" forkmode="perBatch">
<classpath refid="@{junit.classpath}"/>
<assertions>
<enable package="org.apache.lucene"/>