Apache Lucene open-source search software
LUCENE-2598: run tests varying Directory impl by default
Robert Muir4378ffce0b27
diff --git a/lucene/common-build.xml b/lucene/common-build.xmlindex 979992e5382..ae3f4c7760b 100644--- a/lucene/common-build.xml+++ b/lucene/common-build.xml@@ -66,7 +66,7 @@<property name="tests.codec" value="random" /><property name="tests.locale" value="random" /><property name="tests.timezone" value="random" />- <property name="tests.directory" value="RAMDirectory" />+ <property name="tests.directory" value="random" /><property name="tests.iter" value="1" /><property name="javac.deprecation" value="off"/>diff --git a/lucene/src/test/org/apache/lucene/util/LuceneTestCaseJ4.java b/lucene/src/test/org/apache/lucene/util/LuceneTestCaseJ4.javaindex 8e90e9e60c3..04a7728f2ee 100644--- a/lucene/src/test/org/apache/lucene/util/LuceneTestCaseJ4.java+++ b/lucene/src/test/org/apache/lucene/util/LuceneTestCaseJ4.java@@ -155,7 +155,7 @@ public class LuceneTestCaseJ4 {/** Gets the timezone to run tests with */static final String TEST_TIMEZONE = System.getProperty("tests.timezone", "random");/** Gets the directory to run tests with */- static final String TEST_DIRECTORY = System.getProperty("tests.directory", "RAMDirectory");+ static final String TEST_DIRECTORY = System.getProperty("tests.directory", "random");/** Get the number of times to run tests */static final int TEST_ITER = Integer.parseInt(System.getProperty("tests.iter", "1"));