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 2013/07/16 13:56:48 UTC

[jira] [Created] (JCR-3621) Race condition in MixinTest between event delivery and unregistering the observation listener

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

             Summary: Race condition in MixinTest between event delivery and unregistering the observation listener
                 Key: JCR-3621
                 URL: https://issues.apache.org/jira/browse/JCR-3621
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-core
            Reporter: Michael Dürig
            Assignee: Michael Dürig


The tests in org.apache.jackrabbit.core.observation.MixinTest unregister the event listener *before* waiting for the events being delivered. This causes the tests to fail in the case event delivery doesn't happen in the small time window between Session.save() and the unregister call.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira