LUCENE-10078: Fix TestIndexWriterOutOfFileDescriptors failures due to merge-on-refresh.

This commit is contained in:
Adrien Grand 2022-06-15 09:20:21 +02:00
parent 89dbe651cc
commit 3be18bc62e
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ public class TestIndexWriterOutOfFileDescriptors extends LuceneTestCase {
if (VERBOSE) { if (VERBOSE) {
System.out.println("TEST: iter=" + iter + ": success"); System.out.println("TEST: iter=" + iter + ": success");
} }
} catch (AssertionError | IOException ioe) { } catch (AssertionError | IOException | IllegalStateException ioe) {
if (VERBOSE) { if (VERBOSE) {
System.out.println("TEST: iter=" + iter + ": exception"); System.out.println("TEST: iter=" + iter + ": exception");
ioe.printStackTrace(); ioe.printStackTrace();