mirror of https://github.com/apache/lucene.git
SOLR-12833: This test needs the update log - use "enable.update.log" property to turn it on.
This commit is contained in:
parent
5c9e7d5351
commit
ef3b6a1aa3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue