Skip to content

Commit c39d3a7

Browse files
committed
Check index status is green vs active shards
1 parent d2a8bf0 commit c39d3a7

File tree

10 files changed

+12
-12
lines changed

10 files changed

+12
-12
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ setup:
2020
cluster.health:
2121
index: .synonyms-2
2222
level: shards
23-
wait_for_active_shards: 2
23+
wait_for_status: green
2424
timeout: 1m
2525

2626
- do:
@@ -56,7 +56,7 @@ setup:
5656
cluster.health:
5757
index: .synonyms-2
5858
level: shards
59-
wait_for_active_shards: 2
59+
wait_for_status: green
6060
timeout: 1m
6161

6262
- match: { result: "updated" }
@@ -77,7 +77,7 @@ setup:
7777
cluster.health:
7878
index: .synonyms-2
7979
level: shards
80-
wait_for_active_shards: 2
80+
wait_for_status: green
8181
timeout: 1m
8282

8383
- do:

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/110_synonyms_invalid.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ setup:
1616
cluster.health:
1717
index: .synonyms-2
1818
level: shards
19-
wait_for_active_shards: 2
19+
wait_for_status: green
2020
timeout: 1m
2121

2222
- do:

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/20_synonyms_get.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ setup:
1919
cluster.health:
2020
index: .synonyms-2
2121
level: shards
22-
wait_for_active_shards: 2
22+
wait_for_status: green
2323
timeout: 1m
2424

2525
---

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/30_synonyms_delete.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ setup:
1717
cluster.health:
1818
index: .synonyms-2
1919
level: shards
20-
wait_for_active_shards: 2
20+
wait_for_status: green
2121
timeout: 1m
2222

2323
---

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/40_synonyms_sets_get.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ setup:
1515
cluster.health:
1616
index: .synonyms-2
1717
level: shards
18-
wait_for_active_shards: 2
18+
wait_for_status: green
1919
timeout: 1m
2020

2121
- do:

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/50_synonym_rule_put.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ setup:
1919
cluster.health:
2020
index: .synonyms-2
2121
level: shards
22-
wait_for_active_shards: 2
22+
wait_for_status: green
2323
timeout: 1m
2424

2525
---

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/60_synonym_rule_get.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ setup:
1919
cluster.health:
2020
index: .synonyms-2
2121
level: shards
22-
wait_for_active_shards: 2
22+
wait_for_status: green
2323
timeout: 20s
2424

2525
---

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/70_synonym_rule_delete.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ setup:
1919
cluster.health:
2020
index: .synonyms-2
2121
level: shards
22-
wait_for_active_shards: 2
22+
wait_for_status: green
2323
timeout: 1m
2424

2525

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/80_synonyms_from_index.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ setup:
1919
cluster.health:
2020
index: .synonyms-2
2121
level: shards
22-
wait_for_active_shards: 2
22+
wait_for_status: green
2323
timeout: 1m
2424

2525
# Create an index with synonym_filter that uses that synonyms set

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/synonyms/90_synonyms_reloading_for_synset.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
cluster.health:
3232
index: .synonyms-2
3333
level: shards
34-
wait_for_active_shards: 2
34+
wait_for_status: green
3535
timeout: 1m
3636

3737
# Create my_index1 with synonym_filter that uses synonyms_set1

0 commit comments

Comments
 (0)