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/17 15:57:02 UTC

[lucene] branch branch_9x updated: LUCENE-10078: Fix more TestIndexWriterWithThreads failures.

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 288cf4385aa LUCENE-10078: Fix more TestIndexWriterWithThreads failures.
288cf4385aa is described below

commit 288cf4385aacede30b61bb9b7ba52ac0884dd4f1
Author: Adrien Grand <jp...@gmail.com>
AuthorDate: Fri Jun 17 17:54:26 2022 +0200

    LUCENE-10078: Fix more TestIndexWriterWithThreads failures.
---
 .../src/test/org/apache/lucene/index/TestIndexWriterWithThreads.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lucene/core/src/test/org/apache/lucene/index/TestIndexWriterWithThreads.java b/lucene/core/src/test/org/apache/lucene/index/TestIndexWriterWithThreads.java
index 4c4141a321f..8f51dd1143a 100644
--- a/lucene/core/src/test/org/apache/lucene/index/TestIndexWriterWithThreads.java
+++ b/lucene/core/src/test/org/apache/lucene/index/TestIndexWriterWithThreads.java
@@ -116,7 +116,7 @@ public class TestIndexWriterWithThreads extends LuceneTestCase {
           }
         } catch (
             @SuppressWarnings("unused")
-            AlreadyClosedException ace) {
+            IllegalStateException ise) {
           // OK: abort closes the writer
           break;
         } catch (Throwable t) {