You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2012/06/27 15:09:42 UTC

[jira] [Created] (JCR-3361) Observation tests (wrongly) assume the repository supports event bundling

Michael Dürig created JCR-3361:
----------------------------------

             Summary: Observation tests (wrongly) assume the repository supports event bundling
                 Key: JCR-3361
                 URL: https://issues.apache.org/jira/browse/JCR-3361
             Project: Jackrabbit Content Repository
          Issue Type: Sub-task
            Reporter: Michael Dürig


JSR-283 section 12.4 Event Bundling states: "A repository that supports observation *may* support event bundling under asynchronous observation, journaled observation, or both." (emphasis added). Some observation tests fail for repositories that due not support event bundling.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (JCR-3361) Observation tests (wrongly) assume the repository supports event bundling

Posted by "Michael Dürig (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-3361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13402206#comment-13402206 ] 

Michael Dürig commented on JCR-3361:
------------------------------------

Candidates for the wrong assumption:
* {{EventIteratorTest.testGetPosition}}
                
> Observation tests (wrongly) assume the repository supports event bundling
> -------------------------------------------------------------------------
>
>                 Key: JCR-3361
>                 URL: https://issues.apache.org/jira/browse/JCR-3361
>             Project: Jackrabbit Content Repository
>          Issue Type: Sub-task
>            Reporter: Michael Dürig
>
> JSR-283 section 12.4 Event Bundling states: "A repository that supports observation *may* support event bundling under asynchronous observation, journaled observation, or both." (emphasis added). Some observation tests fail for repositories that due not support event bundling.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (JCR-3361) Observation tests (wrongly) assume the repository supports event bundling

Posted by "Michael Dürig (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-3361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13402213#comment-13402213 ] 

Michael Dürig commented on JCR-3361:
------------------------------------

Basically all observation tests which use EventResult to collect the events are prone to this problem: EventResult.getEventIterator() just waits for the first call to EventListener.onEvent() which potentially makes it miss other events. 
                
> Observation tests (wrongly) assume the repository supports event bundling
> -------------------------------------------------------------------------
>
>                 Key: JCR-3361
>                 URL: https://issues.apache.org/jira/browse/JCR-3361
>             Project: Jackrabbit Content Repository
>          Issue Type: Sub-task
>            Reporter: Michael Dürig
>
> JSR-283 section 12.4 Event Bundling states: "A repository that supports observation *may* support event bundling under asynchronous observation, journaled observation, or both." (emphasis added). Some observation tests fail for repositories that due not support event bundling.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (JCR-3361) Observation tests (wrongly) assume the repository supports event bundling

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

Michael Dürig updated JCR-3361:
-------------------------------

    Component/s:     (was: jackrabbit-jcr-servlet)
                 jackrabbit-jcr-tests
    
> Observation tests (wrongly) assume the repository supports event bundling
> -------------------------------------------------------------------------
>
>                 Key: JCR-3361
>                 URL: https://issues.apache.org/jira/browse/JCR-3361
>             Project: Jackrabbit Content Repository
>          Issue Type: Sub-task
>          Components: jackrabbit-jcr-tests
>            Reporter: Michael Dürig
>
> JSR-283 section 12.4 Event Bundling states: "A repository that supports observation *may* support event bundling under asynchronous observation, journaled observation, or both." (emphasis added). Some observation tests fail for repositories that due not support event bundling.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Comment Edited] (JCR-3361) Observation tests (wrongly) assume the repository supports event bundling

Posted by "Michael Dürig (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-3361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13402206#comment-13402206 ] 

Michael Dürig edited comment on JCR-3361 at 6/27/12 1:10 PM:
-------------------------------------------------------------

Candidates for the wrong assumption:
- EventIteratorTest.testGetPosition
                
      was (Author: mduerig):
    Candidates for the wrong assumption:
* {{EventIteratorTest.testGetPosition}}
                  
> Observation tests (wrongly) assume the repository supports event bundling
> -------------------------------------------------------------------------
>
>                 Key: JCR-3361
>                 URL: https://issues.apache.org/jira/browse/JCR-3361
>             Project: Jackrabbit Content Repository
>          Issue Type: Sub-task
>            Reporter: Michael Dürig
>
> JSR-283 section 12.4 Event Bundling states: "A repository that supports observation *may* support event bundling under asynchronous observation, journaled observation, or both." (emphasis added). Some observation tests fail for repositories that due not support event bundling.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Comment Edited] (JCR-3361) Observation tests (wrongly) assume the repository supports event bundling

Posted by "Michael Dürig (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-3361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13402206#comment-13402206 ] 

Michael Dürig edited comment on JCR-3361 at 6/27/12 1:34 PM:
-------------------------------------------------------------

Candidates for the wrong assumption:
- EventIteratorTest.testGetPosition
- NodeRemovedTest.testSingleNodeRemoved
- NodeRemovedTest.testMultiNodesRemoved

                
      was (Author: mduerig):
    Candidates for the wrong assumption:
- EventIteratorTest.testGetPosition
                  
> Observation tests (wrongly) assume the repository supports event bundling
> -------------------------------------------------------------------------
>
>                 Key: JCR-3361
>                 URL: https://issues.apache.org/jira/browse/JCR-3361
>             Project: Jackrabbit Content Repository
>          Issue Type: Sub-task
>            Reporter: Michael Dürig
>
> JSR-283 section 12.4 Event Bundling states: "A repository that supports observation *may* support event bundling under asynchronous observation, journaled observation, or both." (emphasis added). Some observation tests fail for repositories that due not support event bundling.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Comment Edited] (JCR-3361) Observation tests (wrongly) assume the repository supports event bundling

Posted by "Michael Dürig (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-3361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13402206#comment-13402206 ] 

Michael Dürig edited comment on JCR-3361 at 6/27/12 1:55 PM:
-------------------------------------------------------------

Candidates for the wrong assumption:
- EventIteratorTest.testGetPosition
- NodeRemovedTest.testSingleNodeRemoved
- NodeRemovedTest.testMultiNodesRemoved
- PropertyAddedTest#testMultiPropertyAdded
- PropertyChangedTest#testMultiPropertyChanged
- PropertyChangedTest#testSinglePropertyChangedWithAdded
- PropertyRemovedTest#testMultiPropertyRemoved
- AddEventListenerTest#testNodeType


                
      was (Author: mduerig):
    Candidates for the wrong assumption:
- EventIteratorTest.testGetPosition
- NodeRemovedTest.testSingleNodeRemoved
- NodeRemovedTest.testMultiNodesRemoved

                  
> Observation tests (wrongly) assume the repository supports event bundling
> -------------------------------------------------------------------------
>
>                 Key: JCR-3361
>                 URL: https://issues.apache.org/jira/browse/JCR-3361
>             Project: Jackrabbit Content Repository
>          Issue Type: Sub-task
>            Reporter: Michael Dürig
>
> JSR-283 section 12.4 Event Bundling states: "A repository that supports observation *may* support event bundling under asynchronous observation, journaled observation, or both." (emphasis added). Some observation tests fail for repositories that due not support event bundling.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Comment Edited] (JCR-3361) Observation tests (wrongly) assume the repository supports event bundling

Posted by "Michael Dürig (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-3361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13402206#comment-13402206 ] 

Michael Dürig edited comment on JCR-3361 at 6/28/12 2:30 PM:
-------------------------------------------------------------

Candidates for the wrong assumption:
- EventIteratorTest.testGetPosition
- NodeRemovedTest.testSingleNodeRemoved (fixed at revision 1355026)
- NodeRemovedTest.testMultiNodesRemoved (fixed at revision 1355026)
- PropertyAddedTest#testMultiPropertyAdded
- PropertyChangedTest#testMultiPropertyChanged
- PropertyChangedTest#testSinglePropertyChangedWithAdded
- PropertyRemovedTest#testMultiPropertyRemoved
- AddEventListenerTest#testNodeType


                
      was (Author: mduerig):
    Candidates for the wrong assumption:
- EventIteratorTest.testGetPosition
- NodeRemovedTest.testSingleNodeRemoved
- NodeRemovedTest.testMultiNodesRemoved
- PropertyAddedTest#testMultiPropertyAdded
- PropertyChangedTest#testMultiPropertyChanged
- PropertyChangedTest#testSinglePropertyChangedWithAdded
- PropertyRemovedTest#testMultiPropertyRemoved
- AddEventListenerTest#testNodeType


                  
> Observation tests (wrongly) assume the repository supports event bundling
> -------------------------------------------------------------------------
>
>                 Key: JCR-3361
>                 URL: https://issues.apache.org/jira/browse/JCR-3361
>             Project: Jackrabbit Content Repository
>          Issue Type: Sub-task
>            Reporter: Michael Dürig
>
> JSR-283 section 12.4 Event Bundling states: "A repository that supports observation *may* support event bundling under asynchronous observation, journaled observation, or both." (emphasis added). Some observation tests fail for repositories that due not support event bundling.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (JCR-3361) Observation tests (wrongly) assume the repository supports event bundling

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

Michael Dürig updated JCR-3361:
-------------------------------

    Component/s: jackrabbit-jcr-servlet
    
> Observation tests (wrongly) assume the repository supports event bundling
> -------------------------------------------------------------------------
>
>                 Key: JCR-3361
>                 URL: https://issues.apache.org/jira/browse/JCR-3361
>             Project: Jackrabbit Content Repository
>          Issue Type: Sub-task
>          Components: jackrabbit-jcr-tests
>            Reporter: Michael Dürig
>
> JSR-283 section 12.4 Event Bundling states: "A repository that supports observation *may* support event bundling under asynchronous observation, journaled observation, or both." (emphasis added). Some observation tests fail for repositories that due not support event bundling.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira