File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,12 @@ setup:
1414 - synonyms : " bye => goodbye"
1515 id : " synonym-rule-2"
1616
17+ # This is to ensure that all index shards (write and read) are available. In serverless this can take some time.
18+ - do :
19+ cluster.health :
20+ index : .synonyms
21+ wait_for_status : green
22+
1723 # Create synonyms synonyms_set2
1824 - do :
1925 synonyms.put_synonym :
@@ -25,12 +31,6 @@ setup:
2531 - synonyms : " bye => goodbye"
2632 id : " synonym-rule-2"
2733
28- # This is to ensure that all index shards (write and read) are available. In serverless this can take some time.
29- - do :
30- cluster.health :
31- index : .synonyms
32- wait_for_status : green
33-
3434 # Create my_index1 with synonym_filter that uses synonyms_set1
3535 - do :
3636 indices.create :
You can’t perform that action at this time.
0 commit comments