[
https://issues.apache.org/jira/browse/SLING-11063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konrad Windszus updated SLING-11063:
------------------------------------
Description:
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.
was:
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.
> 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
>
> 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)