[
https://issues.apache.org/jira/browse/SLING-4841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Sedding resolved SLING-4841.
-----------------------------------
Resolution: Fixed
> Occasional test failures of JackrabbitRepositoryIT
> --------------------------------------------------
>
> Key: SLING-4841
> URL: https://issues.apache.org/jira/browse/SLING-4841
> Project: Sling
> Issue Type: Bug
> Components: JCR
> Reporter: Julian Sedding
> Assignee: Julian Sedding
> Priority: Minor
>
> Occasionally {{JackrabbitRepositoryIT#checkRepositoryDescriptors}} fails with
> the following message:
> {noformat}
> Expected repository descriptor jcr.repository.name to contain Oak, failed
> (descriptor=Jackrabbit)
> {noformat}
> This is the message that would be expected if
> {{OakRepositoryIT#checkRepositoryDescriptors}} got called but was running
> with an underlying Jackrabbit 2 repository.
> My hypothesis is that PaxExam gets confused due to the template method
> pattern used for the {{checkRepositoryDescriptors}} test method. Running the
> tests with different PaxExam versions up to 4.4.0 locally lead to the same
> failure. Version 4.5.0 seemed to lead to other issues (OSGi not bootstrapped
> correctly?), so I didn't pursue that any further.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)