diff --git a/lucene/common-build.xml b/lucene/common-build.xml index bb6e90872aa..e02f3518e60 100644 --- a/lucene/common-build.xml +++ b/lucene/common-build.xml @@ -771,6 +771,7 @@ + @@ -808,7 +809,7 @@ dynamicAssignmentRatio="${tests.dynamicAssignmentRatio}" shuffleOnSlave="true" - leaveTemporary="false" + leaveTemporary="${tests.leaveTemporary}" seed="${tests.seed}" heartbeat="${tests.heartbeat}" @@ -1116,6 +1117,10 @@ ant -Dtests.timestamps=on ... # Override forked JVM file.encoding ant -Dtests.file.encoding=XXX ... +# Don't remove temporary files under slave directories, even if +# the test passes. +ant -Dtests.leaveTemporary=true + # Output test files and reports. ${tests-output}/tests-report.txt - full ASCII tests report ${tests-output}/tests-failures.txt - failures only (if any)