SOLR-9867: rollback SDF.createCoreContainer(). disable testTechproductsExample

This commit is contained in:
Mikhail Khludnev 2017-05-04 16:19:14 +03:00
parent 30f1422ba9
commit 1534b6219f
2 changed files with 5 additions and 4 deletions

View File

@ -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;
}
/**

View File

@ -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");