mirror of https://github.com/apache/lucene.git
SOLR-8208: fixing TestSubQueryTransformerDistrib by passing reasonable numbers in creatCollection()
This commit is contained in:
parent
4193e60b9f
commit
3b0a79a13e
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue