mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[functional_test_runner] fix grunt failure logging (#11172)
This commit is contained in:
parent
bf63cac183
commit
ea838ec900
1 changed files with 2 additions and 2 deletions
|
@ -17,14 +17,14 @@ export default function (grunt) {
|
|||
functionalTestRunner.run()
|
||||
.then(failureCount => {
|
||||
if (failureCount) {
|
||||
grunt.fail.error(`${failureCount} test failures`);
|
||||
grunt.fail.warn(`${failureCount} test failures`);
|
||||
return;
|
||||
}
|
||||
|
||||
callback();
|
||||
})
|
||||
.catch(err => {
|
||||
grunt.log.error(err.stack);
|
||||
grunt.fail.warn(err.stack);
|
||||
callback(err);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue