mirror of https://github.com/apache/lucene.git
LUCENE-9168: don't let crazy tests run us out of open files with these params
This commit is contained in:
parent
16e537db7e
commit
a29a4f4aa5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue