You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Julian Sedding (JIRA)" <ji...@apache.org> on 2015/06/28 14:40:04 UTC

[jira] [Created] (SLING-4841) Occasional test failures of JackrabbitRepositoryIT

Julian Sedding created SLING-4841:
-------------------------------------

             Summary: 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)