mirror of https://github.com/apache/lucene.git
SOLR-5596: Set system property zookeeper.forceSync=no for Solr test cases
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608555 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d76c4cbef0
commit
0f8e3fd973
|
@ -184,6 +184,8 @@ Other Changes
|
|||
|
||||
* SOLR-6171: Remove unused SolrCores coreNameToOrig map (Alan Woodward)
|
||||
|
||||
* SOLR-5596: Set system property zookeeper.forceSync=no for Solr test cases. (shalin)
|
||||
|
||||
================== 4.9.0 ==================
|
||||
|
||||
Versions of Major Components
|
||||
|
|
|
@ -156,6 +156,7 @@ public abstract class SolrTestCaseJ4 extends LuceneTestCase {
|
|||
|
||||
System.err.println("Creating dataDir: " + initCoreDataDir.getAbsolutePath());
|
||||
|
||||
System.setProperty("zookeeper.forceSync", "no");
|
||||
System.setProperty("jetty.testMode", "true");
|
||||
System.setProperty("enable.update.log", usually() ? "true" : "false");
|
||||
System.setProperty("tests.shardhandler.randomSeed", Long.toString(random().nextLong()));
|
||||
|
@ -187,6 +188,7 @@ public abstract class SolrTestCaseJ4 extends LuceneTestCase {
|
|||
coreName = ConfigSolrXmlOld.DEFAULT_DEFAULT_CORE_NAME;
|
||||
} finally {
|
||||
initCoreDataDir = null;
|
||||
System.clearProperty("zookeeper.forceSync");
|
||||
System.clearProperty("jetty.testMode");
|
||||
System.clearProperty("tests.shardhandler.randomSeed");
|
||||
System.clearProperty("enable.update.log");
|
||||
|
|
Loading…
Reference in New Issue