diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/20_translog.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/20_translog.yml index b6ed05610e4..f6dfdd7b2d0 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/20_translog.yml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/20_translog.yml @@ -191,6 +191,7 @@ body: settings: 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. Please do not specify value for setting [index.soft_deletes.enabled] of index [test]. @@ -248,6 +249,7 @@ body: settings: soft_deletes.enabled: true + routing.rebalance.enable: "none" # prevents shard relocations while we are closing an index - do: cluster.health: wait_for_no_initializing_shards: true