You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by vi...@apache.org on 2025/06/16 16:40:40 UTC
(lucene) branch main updated: Fix intermittent failure of TestDoubleValuesSourceRescorer (#14793)
This is an automated email from the ASF dual-hosted git repository.
vigyasharma pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/lucene.git
The following commit(s) were added to refs/heads/main by this push:
new 436e21de000 Fix intermittent failure of TestDoubleValuesSourceRescorer (#14793)
436e21de000 is described below
commit 436e21de0007a710bf36842b0f4157ebf55bbcca
Author: Chris Hegarty <62...@users.noreply.github.com>
AuthorDate: Mon Jun 16 17:40:36 2025 +0100
Fix intermittent failure of TestDoubleValuesSourceRescorer (#14793)
---
.../test/org/apache/lucene/search/TestDoubleValuesSourceRescorer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lucene/core/src/test/org/apache/lucene/search/TestDoubleValuesSourceRescorer.java b/lucene/core/src/test/org/apache/lucene/search/TestDoubleValuesSourceRescorer.java
index 86b1095e86c..e31e7a0ffb2 100644
--- a/lucene/core/src/test/org/apache/lucene/search/TestDoubleValuesSourceRescorer.java
+++ b/lucene/core/src/test/org/apache/lucene/search/TestDoubleValuesSourceRescorer.java
@@ -78,7 +78,7 @@ public class TestDoubleValuesSourceRescorer extends LuceneTestCase {
public void testBasic() throws Exception {
try (Directory dir = newDirectory()) {
- publishDocs(random().nextInt(100), "title", true, dir);
+ publishDocs(random().nextInt(50, 100), "title", true, dir);
try (IndexReader r = DirectoryReader.open(dir)) {
IndexSearcher s = new IndexSearcher(r);
TermQuery query =