mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Merge branch 'wip-mdl-55759' of https://github.com/rajeshtaneja/moodle
This commit is contained in:
commit
3e6ac53831
@ -624,6 +624,11 @@ class behat_config_util {
|
||||
*/
|
||||
public function profile_guided_allocate($features, $nbuckets, $instance) {
|
||||
|
||||
// No profile guided allocation is required in phpunit.
|
||||
if (defined('PHPUNIT_TEST')) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$behattimingfile = defined('BEHAT_FEATURE_TIMING_FILE') &&
|
||||
@filesize(BEHAT_FEATURE_TIMING_FILE) ? BEHAT_FEATURE_TIMING_FILE : false;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user