Skip to content

Commit

Permalink
Run Translog retention yaml tests with no replicas
Browse files Browse the repository at this point in the history
Initializing replicas change the translog retention logic and confuses the test.

Switch to the solution suggested in #25623, if implemented
  • Loading branch information
bleskes committed Jul 10, 2017
1 parent a932591 commit a6db0ea
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit a6db0ea

Please sign in to comment.