mirror of https://github.com/apache/lucene.git
LUCENE-10078: Fix TestIndexWriterExceptions' expectations regarding merges on full flushes.
This commit is contained in:
parent
66b65b79e8
commit
d850a22a51
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue