You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by so...@apache.org on 2023/12/12 14:12:28 UTC
(lucene) branch branch_9x updated: Add forceMerge to test to fix intermittent failure; addresses #12896
This is an automated email from the ASF dual-hosted git repository.
sokolov pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/lucene.git
The following commit(s) were added to refs/heads/branch_9x by this push:
new 423d5d82b29 Add forceMerge to test to fix intermittent failure; addresses #12896
423d5d82b29 is described below
commit 423d5d82b292fb3b43861734fa878f922ebd837b
Author: Michael Sokolov <so...@amazon.com>
AuthorDate: Tue Dec 12 08:59:26 2023 -0500
Add forceMerge to test to fix intermittent failure; addresses #12896
---
.../apache/lucene/search/join/ParentBlockJoinKnnVectorQueryTestCase.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/lucene/join/src/test/org/apache/lucene/search/join/ParentBlockJoinKnnVectorQueryTestCase.java b/lucene/join/src/test/org/apache/lucene/search/join/ParentBlockJoinKnnVectorQueryTestCase.java
index e8e415ca8ca..abea9d78007 100644
--- a/lucene/join/src/test/org/apache/lucene/search/join/ParentBlockJoinKnnVectorQueryTestCase.java
+++ b/lucene/join/src/test/org/apache/lucene/search/join/ParentBlockJoinKnnVectorQueryTestCase.java
@@ -200,6 +200,7 @@ abstract class ParentBlockJoinKnnVectorQueryTestCase extends LuceneTestCase {
}
toAdd.add(makeParent(new int[] {6, 7, 8, 9, 10}));
w.addDocuments(toAdd);
+ w.forceMerge(1);
}
try (IndexReader reader = DirectoryReader.open(d)) {
assertEquals(1, reader.leaves().size());