mirror of https://github.com/apache/lucene.git
fix test bug
This commit is contained in:
parent
ae6a971c35
commit
c260c9d251
|
@ -41,7 +41,7 @@ public class TestLucene60PointFormat extends BasePointFormatTestCase {
|
||||||
if (random().nextBoolean()) {
|
if (random().nextBoolean()) {
|
||||||
// randomize parameters
|
// randomize parameters
|
||||||
int maxPointsInLeafNode = TestUtil.nextInt(random(), 50, 500);
|
int maxPointsInLeafNode = TestUtil.nextInt(random(), 50, 500);
|
||||||
double maxMBSortInHeap = 0.1 + (3*random().nextDouble());
|
double maxMBSortInHeap = 3.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