SOLR-12833: This test needs the update log - use "enable.update.log" property to turn it on.

This commit is contained in:
Andrzej Bialecki 2019-05-06 12:07:08 +02:00
parent 5c9e7d5351
commit ef3b6a1aa3
1 changed files with 2 additions and 0 deletions

View File

@ -59,12 +59,14 @@ public class DistributedUpdateProcessorTest extends SolrTestCaseJ4 {
public static void beforeClass() throws Exception { public static void beforeClass() throws Exception {
assumeWorkingMockito(); assumeWorkingMockito();
executor = ExecutorUtil.newMDCAwareCachedThreadPool(getClassName()); 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"); initCore("solr/collection1/conf/solrconfig.xml","solr/collection1/conf/schema-minimal-with-another-uniqkey.xml");
} }
@AfterClass @AfterClass
public static void AfterClass() { public static void AfterClass() {
executor.shutdown(); executor.shutdown();
System.clearProperty("enable.update.log");
} }
@Test @Test