Fix TestRangeOnRaneFacetCounts dimention overflow error (#12049)

This commit is contained in:
Patrick Zhai 2022-12-30 13:18:51 -08:00 committed by GitHub
parent 21107d811b
commit 4eab1d74e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1001,7 +1001,7 @@ public class TestRangeOnRangeFacetCounts extends FacetTestCase {
RandomIndexWriter w = new RandomIndexWriter(random(), dir);
int numDocs = atLeast(1000);
int dims = atLeast(2);
int dims = random().nextInt(2, 5);
if (VERBOSE) {
System.out.println("TEST: numDocs=" + numDocs);
}
@ -1318,7 +1318,7 @@ public class TestRangeOnRangeFacetCounts extends FacetTestCase {
RandomIndexWriter w = new RandomIndexWriter(random(), dir);
int numDocs = atLeast(1000);
int dims = atLeast(2);
int dims = random().nextInt(2, 5);
if (VERBOSE) {
System.out.println("TEST: numDocs=" + numDocs);
}