mirror of https://github.com/apache/lucene.git
fix test bug: let BKD use enough heap in this test
This commit is contained in:
parent
405e084a6c
commit
8abd5a415b
|
@ -1017,7 +1017,7 @@ public class TestPointQueries extends LuceneTestCase {
|
||||||
private static Codec getCodec() {
|
private static Codec getCodec() {
|
||||||
if (Codec.getDefault().getName().equals("Lucene60")) {
|
if (Codec.getDefault().getName().equals("Lucene60")) {
|
||||||
int maxPointsInLeafNode = TestUtil.nextInt(random(), 16, 2048);
|
int maxPointsInLeafNode = TestUtil.nextInt(random(), 16, 2048);
|
||||||
double maxMBSortInHeap = 3.0 + (3*random().nextDouble());
|
double maxMBSortInHeap = 4.0 + (3*random().nextDouble());
|
||||||
if (VERBOSE) {
|
if (VERBOSE) {
|
||||||
System.out.println("TEST: using Lucene60PointFormat with maxPointsInLeafNode=" + maxPointsInLeafNode + " and maxMBSortInHeap=" + maxMBSortInHeap);
|
System.out.println("TEST: using Lucene60PointFormat with maxPointsInLeafNode=" + maxPointsInLeafNode + " and maxMBSortInHeap=" + maxMBSortInHeap);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue