Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-7074

Fix Flaky AsyncCommandLockingTest#oneCommandIsResponsibleForUnlockingThenNoExceptionOccurs test

    XMLWordPrintable

Details

    • Task
    • Resolution: Obsolete
    • Neutral
    • None
    • 5.5.4
    • None

    Description

      The test is randomly failing due to timing issues since it aims to check async commands and we have to time it correctly in order to have the order one throw exception or not.

      One solution might be to have the first command run for a longer period and therefore the second one will hit to LockException.

      Other one would be to have something similar to -> https://git.magnolia-cms.com/projects/PLATFORM/repos/main/pull-requests/358/overview

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              ilgun Ilgun Ilgun
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoR