diff --git a/test/fixtures/config.js b/test/fixtures/config.js index 6ef3a150d58c..490e846fcd19 100644 --- a/test/fixtures/config.js +++ b/test/fixtures/config.js @@ -20,7 +20,8 @@ module.exports = { bulk: [{ indexName: '.kibana', indexDefinition: 'kibanaDefinition.js', - source: 'kibana.js' + source: 'kibana.js', + haltOnFailure: false }] } } diff --git a/test/fixtures/scenarioManager.js b/test/fixtures/scenarioManager.js index 6b63448a11fc..fbbba745175f 100644 --- a/test/fixtures/scenarioManager.js +++ b/test/fixtures/scenarioManager.js @@ -38,6 +38,10 @@ ScenarioManager.prototype.load = function (id) { return self.client.bulk({ body: body }); + }) + .catch(function (err) { + if (bulk.haltOnFailure === false) return; + throw err; }); })); }; diff --git a/test/support/pages/Common.js b/test/support/pages/Common.js index 96da400e819d..e2b4d1057dfa 100644 --- a/test/support/pages/Common.js +++ b/test/support/pages/Common.js @@ -24,7 +24,7 @@ define(function (require) { // since we're using hash URLs, always reload first to force re-render return self.remote.refresh() .then(function () { - return self.remote.get(url) + return self.remote.get(url); }) .then(function () { if (testStatusPage !== false) {