Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-80862

Locks are not released on failed tasks during tests

XMLWordPrintable

      Discovered during this week's integration cycle, basically the problem happens on a test with task steps such as "I run all adhoc tasks".

      If something goes wrong during the task execution, the lock won't be release causing other tests to fail, for example this build: https://ci.moodle.org/job/S.02.01%20-%20Behat%20-%20NonJS%20+%20Postgres/1054/
      In the above case "Unexpired and protected data is not removed" scenario also failed caused by the unreleased lock from the task execution on "I can see the room has been created and ready to access" scenario.

            dobedobedoh Andrew Lyons
            lameze Simey Lameze
            Simey Lameze Simey Lameze
            Huong Nguyen Huong Nguyen
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 51 minutes
                4h 51m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.