-
Bug
-
Resolution: Fixed
-
Minor
-
3.5.5, 3.6.2, 3.7
-
MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
-
MOODLE_35_STABLE, MOODLE_36_STABLE
-
MDL-64979-master -
When running on slow machines (e.g. using Windows, or with hard disk instead of SDD, or insufficient RAM), Behat tests can be unreliable because some of the timeouts are not long enough.
The timeouts in Behat tests are defined in behat_base.php. They are fixed at 2 seconds, 6 seconds, or 10 seconds.
I propose adding a config.php option $CFG->behat_increasetimeout = 3;
This would increase all three time limits by the specified factor (so setting it to 3 makes the timeouts 6/18/30 which is enough at least for our machines, maybe not if somebody tries to run it on a VIC-20).