fix test bug

This commit is contained in:
Mike McCandless 2016-01-29 05:02:32 -05:00
parent ae6a971c35
commit c260c9d251
1 changed files with 1 additions and 1 deletions

View File

@ -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);
} }