2728293031323334353637
public class SolrProxyTest { @Test public void testDynamicallyChangingNumberOfCores() throws Exception { SolrProxy solr = new SolrProxy(); solr.start(); testSolrCore("core0", 200); testSolrCore("core1", 404); // Increase number of cores
6869707172737475767778
} @Test public void testNoCore0() throws Exception { SolrProxy solr = new SolrProxy(); solr.start(); solr.changeSolrDefinition(new SolrDefinition( SolrDefinition.core("first"), SolrDefinition.core("second") ));