-
Improvement
-
Resolution: Fixed
-
Minor
-
3.2.1
-
MOODLE_32_STABLE
-
MOODLE_32_STABLE
-
wip-mdl-57940
-
- Initialize behat with 3 runs
- define('BEHAT_PARALLEL_START_DELAY', 20);
- run behat with @javascript and ensure there is min. 20 sec delay between start of each process.
Recently while testing behat docker on a server, it was observed that sometimes one or more runs fail with "Selenium not running" message. It was more obvious when on a 8 core machine we have 2 behat parallel runs with 4/5 runs each.
Adding a simple delay between each run seems to eliminate the problem.