Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
JCR Resource 3.1.0
-
None
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)
[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>
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.
Attachments
Issue Links
- relates to
-
OAK-5619 withIncludeAncestorsRemove reports unrelated top-level node deletion
- Closed
-
SLING-10642 update unittests
- Closed