mirror of https://github.com/apache/lucene.git
SOLR-6413: Speed up TriLevelCompositeIdRoutingTest for non nightly runs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620142 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b7617e4685
commit
b673157d2f
|
@ -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;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue