Skip to content

Commit a6db0ea

Browse files
committed
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 #25623, if implemented
1 parent a932591 commit a6db0ea

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats

rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/20_translog.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ setup:
33
- do:
44
indices.create:
55
index: test
6+
body:
7+
settings:
8+
index:
9+
# initializing replicas maintain the translog causing the test to fail.
10+
# remove once https://github.com/elastic/elasticsearch/issues/25623 is fixed.
11+
number_of_replicas: 0
612

713
---
814
"Translog retention":

0 commit comments

Comments
 (0)