SOLR-12833: DistributedUpdateProcessorTest assumeWorkingMockito()

This commit is contained in:
David Smiley 2019-05-01 00:30:04 -04:00
parent 70e090717d
commit a32decde6a
1 changed files with 6 additions and 5 deletions

View File

@ -17,10 +17,6 @@
package org.apache.solr.update.processor;
import static org.hamcrest.CoreMatchers.is;
import static org.mockito.ArgumentMatchers.anyInt;
import static org.mockito.Mockito.doReturn;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collection;
@ -49,6 +45,10 @@ import org.mockito.Mockito;
import org.mockito.junit.MockitoJUnit;
import org.mockito.junit.MockitoRule;
import static org.hamcrest.CoreMatchers.is;
import static org.mockito.ArgumentMatchers.anyInt;
import static org.mockito.Mockito.doReturn;
public class DistributedUpdateProcessorTest extends SolrTestCaseJ4 {
@Rule
@ -57,6 +57,7 @@ public class DistributedUpdateProcessorTest extends SolrTestCaseJ4 {
@BeforeClass
public static void beforeClass() throws Exception {
assumeWorkingMockito();
executor = Executors.newCachedThreadPool();
initCore("solr/collection1/conf/solrconfig.xml","solr/collection1/conf/schema-minimal-with-another-uniqkey.xml");
}