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 df0125187d6..be534364d4c 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,6 +3,12 @@ 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 --- "Translog retention":