fix test bug: let BKD use enough heap in this test

This commit is contained in:
Mike McCandless 2016-02-24 07:52:22 -05:00
parent 405e084a6c
commit 8abd5a415b
1 changed files with 1 additions and 1 deletions

View File

@ -1017,7 +1017,7 @@ public class TestPointQueries extends LuceneTestCase {
private static Codec getCodec() {
if (Codec.getDefault().getName().equals("Lucene60")) {
int maxPointsInLeafNode = TestUtil.nextInt(random(), 16, 2048);
double maxMBSortInHeap = 3.0 + (3*random().nextDouble());
double maxMBSortInHeap = 4.0 + (3*random().nextDouble());
if (VERBOSE) {
System.out.println("TEST: using Lucene60PointFormat with maxPointsInLeafNode=" + maxPointsInLeafNode + " and maxMBSortInHeap=" + maxMBSortInHeap);
}