Skip to content

Commit c92e06c

Browse files
ChrisHegartyvigyasharma
authored andcommitted
Fix intermittent failure of TestDoubleValuesSourceRescorer (#14793)
1 parent 4535a2e commit c92e06c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lucene/core/src/test/org/apache/lucene/search/TestDoubleValuesSourceRescorer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ private void publishDocs(int numDocs, String fieldName, boolean indexDocValues,
7878

7979
public void testBasic() throws Exception {
8080
try (Directory dir = newDirectory()) {
81-
publishDocs(random().nextInt(100), "title", true, dir);
81+
publishDocs(random().nextInt(50, 100), "title", true, dir);
8282
try (IndexReader r = DirectoryReader.open(dir)) {
8383
IndexSearcher s = new IndexSearcher(r);
8484
TermQuery query =

0 commit comments

Comments
 (0)