Fix TestDisiPriorityQueue test bug

This commit is contained in:
Greg Miller 2022-07-20 11:33:14 -07:00
parent 39e7597f6e
commit 1bc38b7d1f
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ public class TestDisiPriorityQueue extends LuceneTestCase {
public void testRandom() throws Exception {
Random r = random();
int size = r.nextInt(TEST_NIGHTLY ? 1000 : 10);
int size = r.nextInt(1, TEST_NIGHTLY ? 1000 : 10);
DisiWrapper[] all = new DisiWrapper[size];
for (int i = 0; i < size; i++) {
DocIdSetIterator it = randomDisi(r);