Run Translog retention yaml tests with no replicas

Initializing replicas change the translog retention logic and confuses the test.

Switch to the solution suggested in https://github.com/elastic/elasticsearch/issues/25623, if implemented
This commit is contained in:
Boaz Leskes 2017-07-10 11:06:57 +02:00
parent a932591007
commit a6db0ea908
1 changed files with 6 additions and 0 deletions

View File

@ -3,6 +3,12 @@ setup:
- do: - do:
indices.create: indices.create:
index: test 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": "Translog retention":