You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by ba...@apache.org on 2025/11/05 16:20:13 UTC

(jackrabbit) branch JCR-5203 updated: JCR-5203: integration tests in jackrabbit-core occasionally fail to ItemNotFoundExceptions during cleanup

This is an automated email from the ASF dual-hosted git repository.

baedke pushed a commit to branch JCR-5203
in repository https://gitbox.apache.org/repos/asf/jackrabbit.git


The following commit(s) were added to refs/heads/JCR-5203 by this push:
     new 571485bd7 JCR-5203: integration tests in jackrabbit-core occasionally fail to ItemNotFoundExceptions during cleanup
571485bd7 is described below

commit 571485bd7ee6c3b60c61d1691080a6a8dcb0743d
Author: Manfred Baedke <ma...@gmail.com>
AuthorDate: Wed Nov 5 17:19:17 2025 +0100

    JCR-5203: integration tests in jackrabbit-core occasionally fail to ItemNotFoundExceptions during cleanup
    
    fixed
---
 .../src/main/java/org/apache/jackrabbit/test/AbstractJCRTest.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/AbstractJCRTest.java b/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/AbstractJCRTest.java
index 5cc117146..c0c285465 100644
--- a/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/AbstractJCRTest.java
+++ b/jackrabbit-jcr-tests/src/main/java/org/apache/jackrabbit/test/AbstractJCRTest.java
@@ -897,7 +897,7 @@ public abstract class AbstractJCRTest extends JUnitTest {
                     // try to remove child
                     try {
                         child.remove();
-                    } catch (ConstraintViolationException e) {
+                    } catch (RepositoryException e) {
                         log.println("unable to remove node: " + child.getPath());
                     }
                 }