diff --git a/solr/core/src/test/org/apache/solr/cloud/TriLevelCompositeIdRoutingTest.java b/solr/core/src/test/org/apache/solr/cloud/TriLevelCompositeIdRoutingTest.java index 5138b8dbf18..9419c53845a 100644 --- a/solr/core/src/test/org/apache/solr/cloud/TriLevelCompositeIdRoutingTest.java +++ b/solr/core/src/test/org/apache/solr/cloud/TriLevelCompositeIdRoutingTest.java @@ -17,6 +17,7 @@ package org.apache.solr.cloud; * limitations under the License. */ +import org.apache.lucene.util.LuceneTestCase.Slow; import org.apache.solr.client.solrj.response.QueryResponse; import org.apache.solr.common.SolrDocument; import org.junit.BeforeClass; @@ -26,6 +27,7 @@ import java.util.HashSet; import java.util.Set; +@Slow public class TriLevelCompositeIdRoutingTest extends ShardRoutingTest { int NUM_APPS = 5; @@ -45,8 +47,8 @@ public class TriLevelCompositeIdRoutingTest extends ShardRoutingTest { public TriLevelCompositeIdRoutingTest() { schemaString = "schema15.xml"; // we need a string id - super.sliceCount = 12; // a lot of slices for more ranges and buckets - super.shardCount = 24; + super.sliceCount = TEST_NIGHTLY ? 12 : 2; // a lot of slices for more ranges and buckets + super.shardCount = TEST_NIGHTLY ? 24 : 3; super.fixShardCount = true; }