Skip to content

Apache Lucene open-source search software

tests: tone down nightly runs

Mark Robert Millerd27a0160880f
diff --git a/solr/contrib/map-reduce/src/test/org/apache/solr/hadoop/MorphlineGoLiveMiniMRTest.java b/solr/contrib/map-reduce/src/test/org/apache/solr/hadoop/MorphlineGoLiveMiniMRTest.java
index 5673fb0f513..5f4a588dcb3 100644
--- a/solr/contrib/map-reduce/src/test/org/apache/solr/hadoop/MorphlineGoLiveMiniMRTest.java
+++ b/solr/contrib/map-reduce/src/test/org/apache/solr/hadoop/MorphlineGoLiveMiniMRTest.java
@@ -128,8 +128,8 @@ public class MorphlineGoLiveMiniMRTest extends AbstractFullDistribZkTestBase {
this.inputAvroFile2 = "sample-statuses-20120906-141433.avro";
this.inputAvroFile3 = "sample-statuses-20120906-141433-medium.avro";
- sliceCount = TEST_NIGHTLY ? 7 : 3;
- fixShardCount(TEST_NIGHTLY ? 7 : 3);
+ sliceCount = TEST_NIGHTLY ? 5 : 3;
+ fixShardCount(TEST_NIGHTLY ? 5 : 3);
}
@BeforeClass
@@ -520,7 +520,7 @@ public class MorphlineGoLiveMiniMRTest extends AbstractFullDistribZkTestBase {
// try using zookeeper with replication
String replicatedCollection = "replicated_collection";
if (TEST_NIGHTLY) {
- createCollection(replicatedCollection, 3, 3, 5);
+ createCollection(replicatedCollection, 3, 3, 3);
} else {
createCollection(replicatedCollection, 2, 3, 2);
}
@@ -651,7 +651,7 @@ public class MorphlineGoLiveMiniMRTest extends AbstractFullDistribZkTestBase {
}
if (TEST_NIGHTLY) {
- createCollection(replicatedCollection, 3, 3, 5);
+ createCollection(replicatedCollection, 3, 3, 3);
} else {
createCollection(replicatedCollection, 2, 3, 2);
}