mirror of https://github.com/apache/lucene.git
SOLR-9867: rollback SDF.createCoreContainer(). disable testTechproductsExample
This commit is contained in:
parent
30f1422ba9
commit
1534b6219f
|
@ -247,9 +247,9 @@ public class SolrDispatchFilter extends BaseSolrFilter {
|
|||
*/
|
||||
protected CoreContainer createCoreContainer(Path solrHome, Properties extraProperties) {
|
||||
NodeConfig nodeConfig = loadNodeConfig(solrHome, extraProperties);
|
||||
CoreContainer coreContainer = new CoreContainer(nodeConfig, extraProperties, true);
|
||||
coreContainer.load();
|
||||
return coreContainer;
|
||||
cores = new CoreContainer(nodeConfig, extraProperties, true);
|
||||
cores.load();
|
||||
return cores;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -50,6 +50,7 @@ import org.apache.solr.common.SolrInputDocument;
|
|||
import org.junit.After;
|
||||
import org.junit.AfterClass;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
@ -296,7 +297,7 @@ public class TestSolrCLIRunExample extends SolrTestCaseJ4 {
|
|||
closeables = null;
|
||||
}
|
||||
}
|
||||
|
||||
@Ignore
|
||||
@Test
|
||||
public void testTechproductsExample() throws Exception {
|
||||
testExample("techproducts");
|
||||
|
|
Loading…
Reference in New Issue