jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1583) Occasional jcr2spi UpdateTest failures
Date Fri, 09 May 2008 10:18:55 GMT

     [ https://issues.apache.org/jira/browse/JCR-1583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jukka Zitting updated JCR-1583:
-------------------------------

    Attachment: JCR-1583.patch

Proposed patch that uses AbstractJCRTest.workspaceName instead of selecting a workspace using
Workspace.getAccessibleWorkspaceNames().

Unless anyone objects, I'll commit this fix.

> Occasional jcr2spi UpdateTest failures
> --------------------------------------
>
>                 Key: JCR-1583
>                 URL: https://issues.apache.org/jira/browse/JCR-1583
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-jcr2spi
>    Affects Versions: 1.5
>            Reporter: Jukka Zitting
>            Priority: Minor
>         Attachments: JCR-1583.patch
>
>
> Every now and then I see the following jcr2spi test failures:
>     Tests in error:
>       testUpdateRemovesExtraProperty(org.apache.jackrabbit.jcr2spi.UpdateTest)
>       testUpdateAddsMissingSubtree(org.apache.jackrabbit.jcr2spi.UpdateTest)
> UpdateTest needs two workspaces and selects the other one based on Workspace.getAccessibleWorkspaceNames().
Since the order of returned workspace names is not deterministic and the "security" workspace
doesn't work for the tests, the above tests fail whenever the "security" workspace happens
to be first in the list of returned workspace names.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message