mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Don't bother setting the number of index replicas when creating kibana-int (relates to #3877)
This commit is contained in:
parent
14890ff337
commit
8479a38e12
4 changed files with 3 additions and 7 deletions
|
@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -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
|
||||
});
|
||||
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
module.exports = {
|
||||
settings: {
|
||||
number_of_shards: 1,
|
||||
number_of_replicas: 1
|
||||
number_of_shards: 1
|
||||
},
|
||||
mappings: {
|
||||
config: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue