mirror of https://github.com/apache/lucene.git
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:
parent
99b77c04aa
commit
633eac1cd7
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue