Skip to content

Commit 8fff92a

Browse files
committed
Fix test
1 parent 83337d4 commit 8fff92a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/10_synonyms_put.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,18 @@ setup:
1515

1616
- match: { result: "created" }
1717

18+
- do:
19+
cluster.health:
20+
index: .synonyms-2
21+
level: shards
22+
timeout: 60s
23+
wait_for_status: yellow
24+
wait_for_no_initializing_shards: true
25+
26+
- do:
27+
synonyms.get_synonym:
28+
id: test-update-synonyms
29+
1830
- is_true: synonyms_set.0.id
1931
- is_true: synonyms_set.1.id
2032

0 commit comments

Comments
 (0)