SOLR-4513: We can speed up the Unload Collections API test quite a bit by not loading any cores on startup.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451228 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2013-02-28 15:17:23 +00:00
parent 99b77c04aa
commit 633eac1cd7
2 changed files with 5 additions and 3 deletions

View File

@ -92,9 +92,7 @@ public class CollectionsAPIDistributedZkTest extends AbstractFullDistribZkTestBa
@BeforeClass
public static void beforeThisClass2() throws Exception {
// TODO: we use an fs based dir because something
// like a ram dir will not recover correctly right now
useFactory(null);
}
@Before

View File

@ -59,9 +59,13 @@ public class UnloadDistributedZkTest extends BasicDistributedZkTest {
super.setUp();
}
protected String getSolrXml() {
return "solr-no-core.xml";
}
public UnloadDistributedZkTest() {
super();
checkCreatedVsState = false;
}
@Override