mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[jenkins/ftr] bail on first functional test failure (#12111)
This commit is contained in:
parent
132f9b4d29
commit
b7f519704a
2 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,7 @@ export default function (grunt) {
|
|||
const {
|
||||
logLevel,
|
||||
configFile,
|
||||
configOverrides
|
||||
} = this.options();
|
||||
|
||||
const log = createToolingLog(logLevel);
|
||||
|
@ -19,6 +20,7 @@ export default function (grunt) {
|
|||
const functionalTestRunner = createFunctionalTestRunner({
|
||||
log,
|
||||
configFile,
|
||||
configOverrides
|
||||
});
|
||||
|
||||
const callback = this.async();
|
||||
|
|
|
@ -34,6 +34,7 @@ module.exports = function (grunt) {
|
|||
'_build:verifyTranslations',
|
||||
]);
|
||||
|
||||
grunt.config.set('functional_test_runner.functional.options.configOverrides.mochaOpts.bail', true);
|
||||
grunt.registerTask('jenkins:selenium', [
|
||||
'jenkins:env',
|
||||
'rejectRejFiles',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue