LUCENE-7264: Fix test bug in TestReqExclBulkScorer.

This commit is contained in:
Adrien Grand 2016-04-29 13:30:00 +02:00
parent 95c360d053
commit 14b42fe10b
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ public class TestReqExclBulkScorer extends LuceneTestCase {
for (int i = 0; i < numIncludedDocs; ++i) {
reqAdder.add(random().nextInt(maxDoc));
}
DocIdSetBuilder.BulkAdder exclAdder = exclBuilder.grow(numIncludedDocs);
DocIdSetBuilder.BulkAdder exclAdder = exclBuilder.grow(numExcludedDocs);
for (int i = 0; i < numExcludedDocs; ++i) {
exclAdder.add(random().nextInt(maxDoc));
}