@Override public void setUp() throws Exception { super.setUp(); File home = new File(getSolrHome()); File f = new File(home, "solr.xml"); cores.load(getSolrHome(), f); }
@Override public void setUp() throws Exception { super.setUp(); jetty = new JettySolrRunner(context, 0); jetty.start(false); port = jetty.getLocalPort(); h.getCoreContainer().setPersistent(false); }
@Override public void tearDown() throws Exception { super.tearDown(); jetty.stop(); // stop the server }