You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by jp...@apache.org on 2015/07/07 14:48:25 UTC
svn commit: r1689648 -
/lucene/dev/branches/branch_5x/lucene/join/src/test/org/apache/lucene/search/join/TestCheckJoinIndex.java
Author: jpountz
Date: Tue Jul 7 12:48:24 2015
New Revision: 1689648
URL: http://svn.apache.org/r1689648
Log:
LUCENE-6589: Fix test bug.
Modified:
lucene/dev/branches/branch_5x/lucene/join/src/test/org/apache/lucene/search/join/TestCheckJoinIndex.java
Modified: lucene/dev/branches/branch_5x/lucene/join/src/test/org/apache/lucene/search/join/TestCheckJoinIndex.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/lucene/join/src/test/org/apache/lucene/search/join/TestCheckJoinIndex.java?rev=1689648&r1=1689647&r2=1689648&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/lucene/join/src/test/org/apache/lucene/search/join/TestCheckJoinIndex.java (original)
+++ lucene/dev/branches/branch_5x/lucene/join/src/test/org/apache/lucene/search/join/TestCheckJoinIndex.java Tue Jul 7 12:48:24 2015
@@ -107,7 +107,7 @@ public class TestCheckJoinIndex extends
final RandomIndexWriter w = new RandomIndexWriter(random(), dir, iwc);
List<Document> block = new ArrayList<>();
- final int numChildren = TestUtil.nextInt(random(), 0, 3);
+ final int numChildren = TestUtil.nextInt(random(), 1, 3);
for (int i = 0; i < numChildren; ++i) {
Document doc = new Document();
doc.add(new StringField("child", Integer.toString(i), Store.NO));