Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3621

Race condition in MixinTest between event delivery and unregistering the observation listener

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7
    • 2.7.1
    • jackrabbit-core
    • None

    Description

      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.

      Attachments

        Activity

          People

            mduerig Michael Dürig
            mduerig Michael Dürig
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: