mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
add config to swollow index creation errors
This commit is contained in:
parent
72151b50e9
commit
94adb569b5
3 changed files with 7 additions and 2 deletions
3
test/fixtures/config.js
vendored
3
test/fixtures/config.js
vendored
|
@ -20,7 +20,8 @@ module.exports = {
|
|||
bulk: [{
|
||||
indexName: '.kibana',
|
||||
indexDefinition: 'kibanaDefinition.js',
|
||||
source: 'kibana.js'
|
||||
source: 'kibana.js',
|
||||
haltOnFailure: false
|
||||
}]
|
||||
}
|
||||
}
|
||||
|
|
4
test/fixtures/scenarioManager.js
vendored
4
test/fixtures/scenarioManager.js
vendored
|
@ -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;
|
||||
});
|
||||
}));
|
||||
};
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue