Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-17504: Ensure DirectUpdateHandlerWithUpdateLogTest always uses updateLog

Houston Putman3be16e25517f
diff --git a/solr/core/src/test/org/apache/solr/update/DirectUpdateHandlerWithUpdateLogTest.java b/solr/core/src/test/org/apache/solr/update/DirectUpdateHandlerWithUpdateLogTest.java
index 49a3be19697..3115614e0c4 100644
--- a/solr/core/src/test/org/apache/solr/update/DirectUpdateHandlerWithUpdateLogTest.java
+++ b/solr/core/src/test/org/apache/solr/update/DirectUpdateHandlerWithUpdateLogTest.java
@@ -35,6 +35,7 @@ public class DirectUpdateHandlerWithUpdateLogTest extends SolrTestCaseJ4 {
@BeforeClass
public static void beforeClass() throws Exception {
System.setProperty("solr.updateHandler", SpyingUpdateHandler.class.getName());
+ System.setProperty("enable.update.log", "true");
initCore("solrconfig.xml", "schema11.xml");
}