mirror of https://github.com/apache/lucene.git
SOLR-4708: a follow-up commit that disables the clustering component in tests. This is needed because core tests are executed before the contribs are compiled so certain classes are not yet available (unless you already have them locally). An alternative would be to compile everything before any tests are executed, but it seems that it'd add an extra unnecessary overhead to every build.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1512278 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0fd1bed95b
commit
25bd977a3c
|
@ -114,9 +114,9 @@ public abstract class SolrTestCaseJ4 extends LuceneTestCase {
|
|||
@SuppressWarnings("unused")
|
||||
private static void beforeClass() {
|
||||
System.setProperty("jetty.testMode", "true");
|
||||
|
||||
System.setProperty("enable.update.log", usually() ? "true" : "false");
|
||||
System.setProperty("tests.shardhandler.randomSeed", Long.toString(random().nextLong()));
|
||||
System.setProperty("solr.clustering.enabled", "false");
|
||||
setupLogging();
|
||||
startTrackingSearchers();
|
||||
startTrackingZkClients();
|
||||
|
|
Loading…
Reference in New Issue