MDL-39752 behat: Parallel execution support
This commit is contained in:
@@ -156,6 +156,9 @@ function testing_error($errorcode, $text = '') {
|
||||
|
||||
// do not write to error stream because we need the error message in PHP exec result from web ui
|
||||
echo($text."\n");
|
||||
if (isset($_SERVER['REMOTE_ADDR'])) {
|
||||
header('HTTP/1.1 500 Internal Server Error');
|
||||
}
|
||||
exit($errorcode);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user