Apache Lucene open-source search software
SOLR-12833: This test needs the update log - use "enable.update.log" property to turn it on.
Andrzej Bialeckief3b6a1aa39d
diff --git a/solr/core/src/test/org/apache/solr/update/processor/DistributedUpdateProcessorTest.java b/solr/core/src/test/org/apache/solr/update/processor/DistributedUpdateProcessorTest.javaindex 93113bc036e..d633ec6867b 100644--- a/solr/core/src/test/org/apache/solr/update/processor/DistributedUpdateProcessorTest.java+++ b/solr/core/src/test/org/apache/solr/update/processor/DistributedUpdateProcessorTest.java@@ -59,12 +59,14 @@ public class DistributedUpdateProcessorTest extends SolrTestCaseJ4 {public static void beforeClass() throws Exception {assumeWorkingMockito();executor = ExecutorUtil.newMDCAwareCachedThreadPool(getClassName());+ System.setProperty("enable.update.log", "true");initCore("solr/collection1/conf/solrconfig.xml","solr/collection1/conf/schema-minimal-with-another-uniqkey.xml");}@AfterClasspublic static void AfterClass() {executor.shutdown();+ System.clearProperty("enable.update.log");}@Test