You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2016/02/24 13:52:17 UTC

lucene-solr git commit: fix test bug: let BKD use enough heap in this test

Repository: lucene-solr
Updated Branches:
  refs/heads/master 405e084a6 -> 8abd5a415


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


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/8abd5a41
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/8abd5a41
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/8abd5a41

Branch: refs/heads/master
Commit: 8abd5a415b4f234c335332a4116e01aed3a0a4e0
Parents: 405e084
Author: Mike McCandless <mi...@apache.org>
Authored: Wed Feb 24 07:52:22 2016 -0500
Committer: Mike McCandless <mi...@apache.org>
Committed: Wed Feb 24 07:52:22 2016 -0500

----------------------------------------------------------------------
 .../core/src/test/org/apache/lucene/search/TestPointQueries.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/8abd5a41/lucene/core/src/test/org/apache/lucene/search/TestPointQueries.java
----------------------------------------------------------------------
diff --git a/lucene/core/src/test/org/apache/lucene/search/TestPointQueries.java b/lucene/core/src/test/org/apache/lucene/search/TestPointQueries.java
index 184c50f..3a8f718 100644
--- a/lucene/core/src/test/org/apache/lucene/search/TestPointQueries.java
+++ b/lucene/core/src/test/org/apache/lucene/search/TestPointQueries.java
@@ -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);
       }