You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by gu...@apache.org on 2024/02/13 02:15:13 UTC
(lucene) branch branch_9x updated: Fix test failure for TestDocumentsWriterDeleteQueue.testUpdateDeleteSlices (#13089)
This is an automated email from the ASF dual-hosted git repository.
guofeng 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 1768b2061ba Fix test failure for TestDocumentsWriterDeleteQueue.testUpdateDeleteSlices (#13089)
1768b2061ba is described below
commit 1768b2061bae6664a6be5afd7138b9df78dec3fb
Author: Zhang Chao <80...@qq.com>
AuthorDate: Tue Feb 13 10:10:44 2024 +0800
Fix test failure for TestDocumentsWriterDeleteQueue.testUpdateDeleteSlices (#13089)
---
.../test/org/apache/lucene/index/TestDocumentsWriterDeleteQueue.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lucene/core/src/test/org/apache/lucene/index/TestDocumentsWriterDeleteQueue.java b/lucene/core/src/test/org/apache/lucene/index/TestDocumentsWriterDeleteQueue.java
index 95368c5c6ad..041f00c113a 100644
--- a/lucene/core/src/test/org/apache/lucene/index/TestDocumentsWriterDeleteQueue.java
+++ b/lucene/core/src/test/org/apache/lucene/index/TestDocumentsWriterDeleteQueue.java
@@ -67,7 +67,7 @@ public class TestDocumentsWriterDeleteQueue extends LuceneTestCase {
assertAllBetween(last2, j, bd2, ids);
last2 = j + 1;
}
- assertEquals(j + 1, queue.numGlobalTermDeletes());
+ assertEquals(uniqueValues.size(), queue.numGlobalTermDeletes());
}
assertEquals(uniqueValues, bd1.deleteTerms.keySet());
assertEquals(uniqueValues, bd2.deleteTerms.keySet());