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/15 07:25:09 UTC

[lucene] branch branch_9x updated: LUCENE-10078: Fix TestIndexWriterOutOfFileDescriptors failures due to merge-on-refresh.

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 221b2926a6a LUCENE-10078: Fix TestIndexWriterOutOfFileDescriptors failures due to merge-on-refresh.
221b2926a6a is described below

commit 221b2926a6aeee5ede9b1e1642e8d942e08f4442
Author: Adrien Grand <jp...@gmail.com>
AuthorDate: Wed Jun 15 09:20:21 2022 +0200

    LUCENE-10078: Fix TestIndexWriterOutOfFileDescriptors failures due to merge-on-refresh.
---
 .../org/apache/lucene/index/TestIndexWriterOutOfFileDescriptors.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lucene/core/src/test/org/apache/lucene/index/TestIndexWriterOutOfFileDescriptors.java b/lucene/core/src/test/org/apache/lucene/index/TestIndexWriterOutOfFileDescriptors.java
index 22b26f9cae4..5879d7e763a 100644
--- a/lucene/core/src/test/org/apache/lucene/index/TestIndexWriterOutOfFileDescriptors.java
+++ b/lucene/core/src/test/org/apache/lucene/index/TestIndexWriterOutOfFileDescriptors.java
@@ -118,7 +118,7 @@ public class TestIndexWriterOutOfFileDescriptors extends LuceneTestCase {
         if (VERBOSE) {
           System.out.println("TEST: iter=" + iter + ": success");
         }
-      } catch (AssertionError | IOException ioe) {
+      } catch (AssertionError | IOException | IllegalStateException ioe) {
         if (VERBOSE) {
           System.out.println("TEST: iter=" + iter + ": exception");
           ioe.printStackTrace();