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

Reduce behat polling interval

XMLWordPrintable

      During behat runs, some check tasks are run periodically to check if outstanding tasks are completed. This polling loop has a 1 second sleep, which causes a large amount of time to be wasted sleeping.

      My change reduces the sleep to 10ms, which has no significant CPU usage increase but greatly improves total test execution time (e.g. mod_forum tests 50 => 14 seconds).

            Unassigned Unassigned
            tlevi Tony Levi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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