Skip to content

Commit 7aea8b5

Browse files
committed
Remove workaround in translog rest test (#27530)
Relates #25623 and a6db0ea
1 parent e1d32c8 commit 7aea8b5

File tree

1 file changed

+3
-6
lines changed
  • rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats

1 file changed

+3
-6
lines changed

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,9 @@ 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
6+
- do:
7+
cluster.health:
8+
wait_for_no_initializing_shards: true
129

1310
---
1411
"Translog retention":

0 commit comments

Comments
 (0)