Merge branch 'wip-mdl-49772' of git://github.com/rajeshtaneja/moodle
This commit is contained in:
@@ -273,12 +273,6 @@ class behat_config_manager {
|
||||
* @return int
|
||||
*/
|
||||
public final static function get_parallel_test_runs($runprocess = 0) {
|
||||
global $CFG;
|
||||
|
||||
// Optimise reading this information from file.
|
||||
if (!empty($CFG->behatparallelprocesses)) {
|
||||
return $CFG->behatparallelprocesses;
|
||||
}
|
||||
|
||||
$parallelrun = 0;
|
||||
// Get parallel run info from first file and last file.
|
||||
@@ -289,8 +283,6 @@ class behat_config_manager {
|
||||
}
|
||||
}
|
||||
|
||||
$CFG->behatparallelprocesses = $parallelrun;
|
||||
|
||||
return $parallelrun;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user