Skip to content

Commit

Permalink
LUCENE-6589: Fix test bug.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689649 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
jpountz committed Jul 7, 2015
1 parent ac8c0ed commit d74eee2
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -107,7 +107,7 @@ public void testInconsistentDeletes() throws IOException {
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));
Expand Down

0 comments on commit d74eee2

Please sign in to comment.