Fix failing rest-api-spec tests as part of renaming. (#451)
This commit fixes the following two failing yaml tests in rest-api-spec. - indices.create/10_basic/Create index without soft deletes - indices.stats/20_translog/Translog stats on closed indices without soft-deletes Signed-off-by: Rabi Panda <adnapibar@gmail.com>
This commit is contained in:
parent
c79bab46a0
commit
30c88e7e04
|
@ -164,7 +164,7 @@
|
|||
|
||||
- do:
|
||||
warnings:
|
||||
- Creating indices with soft-deletes disabled is deprecated and will be removed in future Elasticsearch versions.
|
||||
- Creating indices with soft-deletes disabled is deprecated and will be removed in future OpenSearch versions.
|
||||
Please do not specify value for setting [index.soft_deletes.enabled] of index [test_index].
|
||||
indices.create:
|
||||
index: test_index
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
settings:
|
||||
soft_deletes.enabled: false
|
||||
warnings:
|
||||
- Creating indices with soft-deletes disabled is deprecated and will be removed in future Elasticsearch versions.
|
||||
- Creating indices with soft-deletes disabled is deprecated and will be removed in future OpenSearch versions.
|
||||
Please do not specify value for setting [index.soft_deletes.enabled] of index [test].
|
||||
- do:
|
||||
cluster.health:
|
||||
|
@ -193,7 +193,7 @@
|
|||
soft_deletes.enabled: false
|
||||
routing.rebalance.enable: "none" # prevents shard relocations while we are closing an index
|
||||
warnings:
|
||||
- Creating indices with soft-deletes disabled is deprecated and will be removed in future Elasticsearch versions.
|
||||
- Creating indices with soft-deletes disabled is deprecated and will be removed in future OpenSearch versions.
|
||||
Please do not specify value for setting [index.soft_deletes.enabled] of index [test].
|
||||
|
||||
- do:
|
||||
|
|
Loading…
Reference in New Issue