mirror of https://github.com/apache/lucene.git
LUCENE-6697: fix test bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694809 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b4aafbb606
commit
8958a1afff
|
@ -124,7 +124,7 @@ public class TestRangeTree extends LuceneTestCase {
|
|||
// We rely on docID order:
|
||||
iwc.setMergePolicy(newLogMergePolicy());
|
||||
int maxPointsInLeaf = TestUtil.nextInt(random(), 16, 2048);
|
||||
int maxPointsSortInHeap = TestUtil.nextInt(random(), 1024, 1024*1024);
|
||||
int maxPointsSortInHeap = TestUtil.nextInt(random(), maxPointsInLeaf, 1024*1024);
|
||||
Codec codec = TestUtil.alwaysDocValuesFormat(new RangeTreeDocValuesFormat(maxPointsInLeaf, maxPointsSortInHeap));
|
||||
iwc.setCodec(codec);
|
||||
RandomIndexWriter w = new RandomIndexWriter(random(), dir, iwc);
|
||||
|
|
Loading…
Reference in New Issue