From f63b84e3c92866a7e3bf5d247fe2a3ccee2ed56f Mon Sep 17 00:00:00 2001 From: Nhat Nguyen Date: Mon, 27 Nov 2017 09:41:30 -0500 Subject: [PATCH] Remove workaround in translog rest test (#27530) Relates #25623 and https://github.com/elastic/elasticsearch/commit/a6db0ea9087619d8b9bca2dfdd11a921012990de --- .../rest-api-spec/test/indices.stats/20_translog.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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 95398de537069..5c9ec3e597ad9 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 @@ -3,12 +3,9 @@ setup: - do: indices.create: index: test - body: - settings: - index: - # initializing replicas maintain the translog causing the test to fail. - # remove once https://github.com/elastic/elasticsearch/issues/25623 is fixed. - number_of_replicas: 0 + - do: + cluster.health: + wait_for_no_initializing_shards: true --- "Translog retention":