mirror of https://github.com/apache/lucene.git
LUCENE-6589: Fix test bug.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689649 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cf0a0bf33f
commit
0fe4cb474a
|
@ -107,7 +107,7 @@ public class TestCheckJoinIndex extends LuceneTestCase {
|
|||
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));
|
||||
|
|
Loading…
Reference in New Issue