jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Commented] (JCR-3361) Observation tests (wrongly) assume the repository supports event bundling
Date Wed, 27 Jun 2012 13:21:42 GMT

    [ 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

       

Mime
View raw message