lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r1694814 - /lucene/dev/branches/lucene_solr_5_3/lucene/sandbox/src/test/org/apache/lucene/rangetree/TestRangeTree.java
Date Sat, 08 Aug 2015 15:51:58 GMT
Author: mikemccand
Date: Sat Aug  8 15:51:58 2015
New Revision: 1694814

URL: http://svn.apache.org/r1694814
Log:
LUCENE-6697: fix test bug

Modified:
    lucene/dev/branches/lucene_solr_5_3/lucene/sandbox/src/test/org/apache/lucene/rangetree/TestRangeTree.java

Modified: lucene/dev/branches/lucene_solr_5_3/lucene/sandbox/src/test/org/apache/lucene/rangetree/TestRangeTree.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_5_3/lucene/sandbox/src/test/org/apache/lucene/rangetree/TestRangeTree.java?rev=1694814&r1=1694813&r2=1694814&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_5_3/lucene/sandbox/src/test/org/apache/lucene/rangetree/TestRangeTree.java
(original)
+++ lucene/dev/branches/lucene_solr_5_3/lucene/sandbox/src/test/org/apache/lucene/rangetree/TestRangeTree.java
Sat Aug  8 15:51:58 2015
@@ -124,7 +124,7 @@ public class TestRangeTree extends Lucen
     // We rely on docID order:
     iwc.setMergePolicy(newLogMergePolicy());
     int maxPointsInLeaf = TestUtil.nextInt(random(), 16, 2048);
-    int maxPointsSortInHeap = TestUtil.nextInt(random(), 1024, 1024*1024);
+    int maxPointsSortInHeap = TestUtil.nextInt(random(), maxPointsInLeaf, 1024*1024);
     Codec codec = TestUtil.alwaysDocValuesFormat(new RangeTreeDocValuesFormat(maxPointsInLeaf,
maxPointsSortInHeap));
     iwc.setCodec(codec);
     RandomIndexWriter w = new RandomIndexWriter(random(), dir, iwc);



Mime
View raw message