You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2008/05/09 12:18:55 UTC
[jira] Updated: (JCR-1583) Occasional jcr2spi UpdateTest failures
[ 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.