Don't bother setting the number of index replicas when creating kibana-int (relates to #3877)

This commit is contained in:
Eric Herot 2015-12-14 11:06:41 -05:00
parent 14890ff337
commit 8479a38e12
4 changed files with 3 additions and 7 deletions

View file

@ -70,8 +70,6 @@ describe('plugins/elasticsearch', function () {
.to.have.property('settings');
expect(params.body.settings)
.to.have.property('number_of_shards', 1);
expect(params.body.settings)
.to.have.property('number_of_replicas', 1);
});
});

View file

@ -76,7 +76,7 @@ describe('plugins/elasticsearch', function () {
testRoute({
method: 'POST',
url: '/elasticsearch/.kibana',
payload: {settings: { number_of_shards: 1, number_of_replicas: 1 }},
payload: {settings: { number_of_shards: 1 }},
statusCode: 200
});

View file

@ -14,8 +14,7 @@ module.exports = function (server) {
index: index,
body: {
settings: {
number_of_shards: 1,
number_of_replicas: 1
number_of_shards: 1
},
mappings: {
config: {

View file

@ -1,7 +1,6 @@
module.exports = {
settings: {
number_of_shards: 1,
number_of_replicas: 1
number_of_shards: 1
},
mappings: {
config: {