Skip to content

Commit

Permalink
Merge branch 'wip-mdl-55759' of https://github.com/rajeshtaneja/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Sep 12, 2016
2 parents 4bbe995 + b9b1ca9 commit 3e6ac53
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/behat/classes/behat_config_util.php
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,11 @@ protected function get_behat_profile($profile, $values) {
*/
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;

Expand Down

0 comments on commit 3e6ac53

Please sign in to comment.