File tree Expand file tree Collapse file tree 10 files changed +46
-12
lines changed
rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms Expand file tree Collapse file tree 10 files changed +46
-12
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,10 @@ setup:
1717
1818 - do :
1919 cluster.health :
20- wait_for_no_initializing_shards : true
20+ index : .synonyms-2
21+ timeout : 2s
22+ wait_for_status : green
23+ ignore : 408
2124
2225 - do :
2326 synonyms.get_synonym :
@@ -64,7 +67,10 @@ setup:
6467
6568 - do :
6669 cluster.health :
67- wait_for_no_initializing_shards : true
70+ index : .synonyms-2
71+ timeout : 2s
72+ wait_for_status : green
73+ ignore : 408
6874
6975 - do :
7076 synonyms.get_synonym :
Original file line number Diff line number Diff line change @@ -14,7 +14,10 @@ setup:
1414 # This is to ensure that all index shards (write and read) are available. In serverless this can take some time.
1515 - do :
1616 cluster.health :
17- wait_for_no_initializing_shards : true
17+ index : .synonyms-2
18+ timeout : 2s
19+ wait_for_status : green
20+ ignore : 408
1821
1922 - do :
2023 indices.create :
Original file line number Diff line number Diff line change @@ -17,7 +17,10 @@ setup:
1717 # This is to ensure that all index shards (write and read) are available. In serverless this can take some time.
1818 - do :
1919 cluster.health :
20- wait_for_no_initializing_shards : true
20+ index : .synonyms-2
21+ timeout : 2s
22+ wait_for_status : green
23+ ignore : 408
2124
2225---
2326" Get synonyms set " :
Original file line number Diff line number Diff line change @@ -15,7 +15,11 @@ setup:
1515 # This is to ensure that all index shards (write and read) are available. In serverless this can take some time.
1616 - do :
1717 cluster.health :
18- wait_for_no_initializing_shards : true
18+ index : .synonyms-2
19+ timeout : 2s
20+ wait_for_status : green
21+ ignore : 408
22+
1923---
2024" Delete synonyms set " :
2125 - do :
Original file line number Diff line number Diff line change @@ -13,7 +13,10 @@ setup:
1313 # This is to ensure that all index shards (write and read) are available. In serverless this can take some time.
1414 - do :
1515 cluster.health :
16- wait_for_no_initializing_shards : true
16+ index : .synonyms-2
17+ timeout : 2s
18+ wait_for_status : green
19+ ignore : 408
1720
1821 - do :
1922 synonyms.put_synonym :
Original file line number Diff line number Diff line change @@ -17,7 +17,11 @@ setup:
1717 # This is to ensure that all index shards (write and read) are available. In serverless this can take some time.
1818 - do :
1919 cluster.health :
20- wait_for_no_initializing_shards : true
20+ index : .synonyms-2
21+ timeout : 2s
22+ wait_for_status : green
23+ ignore : 408
24+
2125---
2226" Update a synonyms rule " :
2327 - do :
Original file line number Diff line number Diff line change @@ -17,8 +17,10 @@ setup:
1717 # This is to ensure that all index shards (write and read) are available. In serverless this can take some time.
1818 - do :
1919 cluster.health :
20- wait_for_no_initializing_shards : true
21-
20+ index : .synonyms-2
21+ timeout : 2s
22+ wait_for_status : green
23+ ignore : 408
2224
2325---
2426" Get a synonym rule " :
Original file line number Diff line number Diff line change @@ -17,7 +17,10 @@ setup:
1717 # This is to ensure that all index shards (write and read) are available. In serverless this can take some time.
1818 - do :
1919 cluster.health :
20- wait_for_no_initializing_shards : true
20+ index : .synonyms-2
21+ timeout : 2s
22+ wait_for_status : green
23+ ignore : 408
2124
2225---
2326" Delete synonym rule " :
Original file line number Diff line number Diff line change @@ -16,7 +16,10 @@ setup:
1616 # This is to ensure that all index shards (write and read) are available. In serverless this can take some time.
1717 - do :
1818 cluster.health :
19- wait_for_no_initializing_shards : true
19+ index : .synonyms-2
20+ timeout : 2s
21+ wait_for_status : green
22+ ignore : 408
2023
2124 # Create an index with synonym_filter that uses that synonyms set
2225 - do :
Original file line number Diff line number Diff line change 2828 # This is to ensure that all index shards (write and read) are available. In serverless this can take some time.
2929 - do :
3030 cluster.health :
31- wait_for_no_initializing_shards : true
31+ index : .synonyms-2
32+ timeout : 2s
33+ wait_for_status : green
34+ ignore : 408
3235
3336 # Create my_index1 with synonym_filter that uses synonyms_set1
3437 - do :
You can’t perform that action at this time.
0 commit comments