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:14:55 UTC

[jira] Created: (JCR-1583) Occasional jcr2spi UpdateTest failures

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


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.


[jira] Commented: (JCR-1583) Occasional jcr2spi UpdateTest failures

Posted by "angela (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-1583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12595560#action_12595560 ] 

angela commented on JCR-1583:
-----------------------------

no problem... i just wanted to get rid of that issue quickly (not keep it in mind) and therefore didn't wait for your report... sorry for that!

as stated in the other issue: i didn't manage to have the tests failing after the fix even with
missing or problematic ("security") workspace names... so hopefully the issue is really solved.
if you still experience problems, please reopen it. thanks

angela

> 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
>            Assignee: angela
>            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.


[jira] Resolved: (JCR-1583) Occasional jcr2spi UpdateTest failures

Posted by "angela (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-1583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

angela resolved JCR-1583.
-------------------------

    Resolution: Duplicate
      Assignee: angela

i already opened an issue #JCR-1578 and resolved it.

> 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
>            Assignee: angela
>            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.


[jira] Commented: (JCR-1583) Occasional jcr2spi UpdateTest failures

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-1583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12595545#action_12595545 ] 

Jukka Zitting commented on JCR-1583:
------------------------------------

ACK, sorry for the noise.

> 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
>            Assignee: angela
>            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.


[jira] Updated: (JCR-1583) Occasional jcr2spi UpdateTest failures

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ 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.