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 deptMultiplier = atLeast(1);
String people = "people";
int numPeopleShards;
createCollection(people, atLeast(1), numPeopleShards = atLeast(2), numPeopleShards);
final String people = "people";
createCollection(people, 2, 1, 10);
String depts = "departments";
int numDeptsShards;
createCollection(depts, atLeast(1), numDeptsShards = atLeast(2), numDeptsShards);
final String depts = "departments";
createCollection(depts, 2, 1, 10);
createIndex(people, peopleMultiplier, depts, deptMultiplier);