Uploaded image for project: 'Spring Module'
  1. Spring Module
  2. SPRM-62

Race condition when putting an object in the registry asynchronously and disposing the muleContext at the same time

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • S2
    • Pre-production defect
    • 2
    • S2 (Regular)

    Description

      Extensions configurations are registered when first used. If that first use happens in an async block, the race condition manifests.

      This is causing ComponentPathTestCase#flowWithAsync to be flaky, not properly disposing the validator extension objects.

      Attachments

        Activity

          People

            rodrigo.merino@mulesoft.com Rodrigo Merino
            rodrigo.merino@mulesoft.com Rodrigo Merino
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: