lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject [lucene-solr] branch branch_8x updated: SOLR-12833: This test needs the update log - use "enable.update.log" property to turn it on.
Date Mon, 06 May 2019 10:07:30 GMT
This is an automated email from the ASF dual-hosted git repository.

ab pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/branch_8x by this push:
     new b233726  SOLR-12833: This test needs the update log - use "enable.update.log" property
to turn it on.
b233726 is described below

commit b2337262b19eb0ec890fc3a3589d4e5754df23db
Author: Andrzej Bialecki <ab@apache.org>
AuthorDate: Mon May 6 12:07:08 2019 +0200

    SOLR-12833: This test needs the update log - use "enable.update.log" property to turn
it on.
---
 .../apache/solr/update/processor/DistributedUpdateProcessorTest.java    | 2 ++
 1 file changed, 2 insertions(+)

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.java
index 93113bc..d633ec6 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");
   }
 
   @AfterClass
   public static void AfterClass() {
     executor.shutdown();
+    System.clearProperty("enable.update.log");
   }
 
   @Test


Mime
View raw message