test: fixed test bug

This commit is contained in:
Martijn van Groningen 2016-06-13 15:58:36 +02:00
parent 5e3f2ce7aa
commit 8287e13616
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ public class PercolateQueryBuilderTests extends AbstractQueryTestCase<PercolateQ
}
public void testCreateMultiDocumentSearcher() throws Exception {
int numDocs = randomIntBetween(1, 8);
int numDocs = randomIntBetween(2, 8);
List<ParseContext.Document> docs = new ArrayList<>(numDocs);
for (int i = 0; i < numDocs; i++) {
docs.add(new ParseContext.Document());