SOLR-8208: fixing TestSubQueryTransformerDistrib by passing reasonable numbers in creatCollection()

This commit is contained in:
Mikhail Khludnev 2016-05-13 23:23:50 +03:00
parent 4193e60b9f
commit 3b0a79a13e
1 changed files with 4 additions and 6 deletions

View File

@ -54,14 +54,12 @@ public class TestSubQueryTransformerDistrib extends AbstractFullDistribZkTestBas
int peopleMultiplier = atLeast(1); int peopleMultiplier = atLeast(1);
int deptMultiplier = atLeast(1); int deptMultiplier = atLeast(1);
String people = "people"; final String people = "people";
int numPeopleShards; createCollection(people, 2, 1, 10);
createCollection(people, atLeast(1), numPeopleShards = atLeast(2), numPeopleShards);
String depts = "departments"; final String depts = "departments";
int numDeptsShards; createCollection(depts, 2, 1, 10);
createCollection(depts, atLeast(1), numDeptsShards = atLeast(2), numDeptsShards);
createIndex(people, peopleMultiplier, depts, deptMultiplier); createIndex(people, peopleMultiplier, depts, deptMultiplier);