mirror of https://github.com/apache/lucene.git
enforce resource handling, prevent test interference by running in a jvm-unique CWD (under build/, same as tempDir)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1054015 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f04e831982
commit
d55a467fbd
|
@ -75,7 +75,6 @@
|
|||
<property name="tests.linedocsfile" value="europarl.lines.txt.gz" />
|
||||
<property name="tests.iter" value="1" />
|
||||
<property name="tests.seed" value="random" />
|
||||
<property name="tests.userdir" value="."/>
|
||||
<property name="tests.loggingfile" value="/dev/null"/>
|
||||
<property name="tests.nightly" value="false" />
|
||||
|
||||
|
@ -448,7 +447,7 @@
|
|||
-->
|
||||
<touch file="@{tempDir}/@{threadNum}/quiet.ant" verbose="false" mkdirs="true"/>
|
||||
<junit printsummary="off" haltonfailure="no" maxmemory="512M" tempdir="@{tempDir}/@{threadNum}"
|
||||
errorProperty="tests.failed" failureProperty="tests.failed" forkmode="perBatch" dir="${tests.userdir}">
|
||||
errorProperty="tests.failed" failureProperty="tests.failed" forkmode="perBatch" dir="@{tempDir}/@{threadNum}">
|
||||
<classpath refid="@{junit.classpath}"/>
|
||||
<assertions>
|
||||
<enable package="org.apache.lucene"/>
|
||||
|
|
Loading…
Reference in New Issue