[
https://issues.apache.org/jira/browse/JCR-3948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Davide Giannella updated JCR-3948:
----------------------------------
Attachment: JCR-3948-1.patch
The test fails something about 3 out 4 times.
Can't find any real exceptions or error messages on why it should fail. So not
knowing why the node gets created in the setUp() and accessed later on in the
test, I slightly modified the test as per [attached patch|^JCR-3948-1.patch]
When it fails it now fails with a different error message:
{noformat}
Tests in error:
testIssue(org.apache.jackrabbit.core.LostFromCacheIssueTest): failed to
register namespace myprefix -> http://www.onehippo.org/test/1.0: mapping
already exists
{noformat}
> LostFromCacheIssueTest failure
> ------------------------------
>
> Key: JCR-3948
> URL: https://issues.apache.org/jira/browse/JCR-3948
> Project: Jackrabbit Content Repository
> Issue Type: Bug
> Components: core
> Affects Versions: 2.11.3
> Reporter: Davide Giannella
> Priority: Blocker
> Fix For: 2.11.4
>
> Attachments: JCR-3948-1.patch, build-1454943942.log.gz
>
>
> The builds fails blocking therefore the branch and release of 2.12.0
> {noformat}
> Tests run: 143, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 39.053 sec
> <<< FAILURE! - in org.apache.jackrabbit.core.TestAll
> testIssue(org.apache.jackrabbit.core.LostFromCacheIssueTest) Time elapsed:
> 0.055 sec <<< ERROR!
> javax.jcr.PathNotFoundException: test/node
> at org.apache.jackrabbit.core.NodeImpl$8.perform(NodeImpl.java:2167)
> at org.apache.jackrabbit.core.NodeImpl$8.perform(NodeImpl.java:2161)
> at
> org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
> at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)
> at org.apache.jackrabbit.core.NodeImpl.getNode(NodeImpl.java:2161)
> at
> org.apache.jackrabbit.core.LostFromCacheIssueTest.testIssue(LostFromCacheIssueTest.java:136)
> ...
> Tests in error:
> LostFromCacheIssueTest>AbstractJCRTest.run:464->testIssue:136 ยป
> PathNotFound t...
> {noformat}
> [Full build logs|^build-1454943942.log.gz]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)