mirror of https://github.com/apache/lucene.git
use less files in NIGHTLY
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650808 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d97b1cef28
commit
25e24d94d9
|
@ -803,6 +803,10 @@ public class TestDemoParallelLeafReader extends LuceneTestCase {
|
|||
// We write tiny docs, so we need tiny floor to avoid O(N^2) merging:
|
||||
tmp.setFloorSegmentMB(.01);
|
||||
iwc.setMergePolicy(tmp);
|
||||
if (TEST_NIGHTLY) {
|
||||
// during nightly tests, we might use too many files if we arent careful
|
||||
iwc.setUseCompoundFile(true);
|
||||
}
|
||||
return iwc;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue