LUCENE-10078: Fix TestIndexWriterExceptions' expectations regarding merges on full flushes.

This commit is contained in:
Adrien Grand 2022-06-13 09:25:48 +02:00
parent 66b65b79e8
commit d850a22a51
1 changed files with 5 additions and 0 deletions

View File

@ -2169,6 +2169,11 @@ public class TestIndexWriterExceptions extends LuceneTestCase {
FakeIOException fioe) { FakeIOException fioe) {
// OK: e.g. SMS hit the exception // OK: e.g. SMS hit the exception
break; break;
} catch (
@SuppressWarnings("unused")
IllegalStateException ise) {
// OK: Merge-on-refresh refuses to run because IndexWriter hit a tragedy
break;
} }
} }