You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by jp...@apache.org on 2022/06/13 07:26:53 UTC
[lucene] branch branch_9x updated: LUCENE-10078: Fix TestIndexWriterExceptions' expectations regarding merges on full flushes.
This is an automated email from the ASF dual-hosted git repository.
jpountz 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 376195e0e7b LUCENE-10078: Fix TestIndexWriterExceptions' expectations regarding merges on full flushes.
376195e0e7b is described below
commit 376195e0e7bd9052d09b3d4ca8b824dc8dbd5ce9
Author: Adrien Grand <jp...@gmail.com>
AuthorDate: Mon Jun 13 09:25:48 2022 +0200
LUCENE-10078: Fix TestIndexWriterExceptions' expectations regarding merges on full flushes.
---
.../src/test/org/apache/lucene/index/TestIndexWriterExceptions.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lucene/core/src/test/org/apache/lucene/index/TestIndexWriterExceptions.java b/lucene/core/src/test/org/apache/lucene/index/TestIndexWriterExceptions.java
index 659c403b753..ee634b49be8 100644
--- a/lucene/core/src/test/org/apache/lucene/index/TestIndexWriterExceptions.java
+++ b/lucene/core/src/test/org/apache/lucene/index/TestIndexWriterExceptions.java
@@ -2169,6 +2169,11 @@ public class TestIndexWriterExceptions extends LuceneTestCase {
FakeIOException fioe) {
// OK: e.g. SMS hit the exception
break;
+ } catch (
+ @SuppressWarnings("unused")
+ IllegalStateException ise) {
+ // OK: Merge-on-refresh refuses to run because IndexWriter hit a tragedy
+ break;
}
}