From c260c9d25190e2a446508631e932a83cbec628f3 Mon Sep 17 00:00:00 2001 From: Mike McCandless Date: Fri, 29 Jan 2016 05:02:32 -0500 Subject: [PATCH] fix test bug --- .../apache/lucene/codecs/lucene60/TestLucene60PointFormat.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lucene/core/src/test/org/apache/lucene/codecs/lucene60/TestLucene60PointFormat.java b/lucene/core/src/test/org/apache/lucene/codecs/lucene60/TestLucene60PointFormat.java index c154f53e6c9..322640bfda6 100644 --- a/lucene/core/src/test/org/apache/lucene/codecs/lucene60/TestLucene60PointFormat.java +++ b/lucene/core/src/test/org/apache/lucene/codecs/lucene60/TestLucene60PointFormat.java @@ -41,7 +41,7 @@ public class TestLucene60PointFormat extends BasePointFormatTestCase { if (random().nextBoolean()) { // randomize parameters int maxPointsInLeafNode = TestUtil.nextInt(random(), 50, 500); - double maxMBSortInHeap = 0.1 + (3*random().nextDouble()); + double maxMBSortInHeap = 3.0 + (3*random().nextDouble()); if (VERBOSE) { System.out.println("TEST: using Lucene60PointFormat with maxPointsInLeafNode=" + maxPointsInLeafNode + " and maxMBSortInHeap=" + maxMBSortInHeap); }