mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 02:14:54 +00:00
test: fixed test bug
This commit is contained in:
parent
5e3f2ce7aa
commit
8287e13616
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user