You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2022/01/18 08:58:00 UTC

[jira] [Resolved] (SLING-11063) JcrResourceListenerTest.testMultiplePaths fails after updating to Oak 1.10.0

     [ https://issues.apache.org/jira/browse/SLING-11063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konrad Windszus resolved SLING-11063.
-------------------------------------
    Fix Version/s: JCR Resource 3.2.0
       Resolution: Fixed

Fixed with https://github.com/apache/sling-org-apache-sling-jcr-resource/commit/5d467196e3510fa34b5b8c1f8002e328e7c6e34e

> JcrResourceListenerTest.testMultiplePaths fails after updating to Oak 1.10.0
> ----------------------------------------------------------------------------
>
>                 Key: SLING-11063
>                 URL: https://issues.apache.org/jira/browse/SLING-11063
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>    Affects Versions: JCR Resource 3.1.0
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Minor
>             Fix For: JCR Resource 3.2.0
>
>
> For me the test at {{JcrResourceListenerTest.testMultiplePaths()}} fails reproducibly with after updating the Oak dependency to 1.10.0 (in the context of SLING-11061)
> {code}
> [ERROR]   JcrResourceListenerTest.testMultiplePaths:272 Received: [ResourceChange[type=ADDED, path=/libs/test_1642161154172, external=false], ResourceChange[type=CHANGED, path=/libs/test_1642161154172, external=false], ResourceChange[type=REMOVED, path=/libs/test_1642161154172, external=false], ResourceChange[type=ADDED, path=/apps/test_1642161154172, external=false], ResourceChange[type=CHANGED, path=/apps/test_1642161154172, external=false], ResourceChange[type=REMOVED, path=/apps/test_1642161154172, external=false]] expected:<7> but was:<6>
> {code}
> Seems that this test really checks for an edge case (root remove) which is no longer happening in newer Oak versions.
> This was a deliberate change introduced with https://issues.apache.org/jira/browse/OAK-5619 so the test case needs to be adjusted after updating to a newer Oak version.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)