-
Bug
-
Resolution: Fixed
-
Minor
-
3.4
-
MOODLE_34_STABLE
-
MOODLE_34_STABLE
-
The partial indexing test does a check to make sure that indexing that took longer is delayed to let faster indexing areas get a chance to be indexed.
The problem here is the timestamps stored for indexing start/end are using the real time() value - and are not passed through the get_current_time() helper - so the "time spent" processing the forum posts in the test is measured as "zero", since almost zero real time has passed. This test happens to pass in vanilla Moodle, but is able to fail on instances with more plugins installed.