LUCENE-9168: don't let crazy tests run us out of open files with these params

This commit is contained in:
Robert Muir 2020-01-24 08:46:25 -05:00
parent 16e537db7e
commit a29a4f4aa5
No known key found for this signature in database
GPG Key ID: 817AE1DD322D7ECA
1 changed files with 1 additions and 1 deletions

View File

@ -1095,7 +1095,7 @@ public abstract class LuceneTestCase extends Assert {
if (rarely(r)) {
logmp.setMergeFactor(TestUtil.nextInt(r, 2, 9));
} else {
logmp.setMergeFactor(TestUtil.nextInt(r, 100, 500));
logmp.setMergeFactor(TestUtil.nextInt(r, 10, 50));
}
configureRandom(r, logmp);
return logmp;