Skip to content

Commit 19b5c33

Browse files
committed
Remove cluster.health checks for synonyms index
1 parent 7dee4b5 commit 19b5c33

File tree

10 files changed

+0
-76
lines changed

10 files changed

+0
-76
lines changed

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

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

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

18-
- do:
19-
cluster.health:
20-
index: .synonyms
21-
wait_for_status: green
22-
2318
- do:
2419
synonyms.get_synonym:
2520
id: test-update-synonyms
@@ -63,11 +58,6 @@ setup:
6358

6459
- match: { result: "created" }
6560

66-
- do:
67-
cluster.health:
68-
index: .synonyms
69-
wait_for_status: green
70-
7161
- do:
7262
synonyms.get_synonym:
7363
id: test-empty-synonyms

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

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,6 @@ setup:
1111
synonyms_set:
1212
synonyms: "foo => bar, baz"
1313

14-
# This is to ensure that all index shards (write and read) are available. In serverless this can take some time.
15-
- do:
16-
cluster.health:
17-
index: .synonyms
18-
wait_for_status: green
19-
2014
- do:
2115
indices.create:
2216
index: test_index
@@ -372,12 +366,6 @@ setup:
372366
synonyms_set:
373367
synonyms: "foo => bar, baz"
374368

375-
# This is to ensure that all index shards (write and read) are available. In serverless this can take some time.
376-
- do:
377-
cluster.health:
378-
index: .synonyms
379-
wait_for_status: green
380-
381369
- do:
382370
indices.stats: { index: test_index }
383371

@@ -440,12 +428,6 @@ setup:
440428
synonyms_set:
441429
synonyms: "foo => bar, baz"
442430

443-
# This is to ensure that all index shards (write and read) are available. In serverless this can take some time.
444-
- do:
445-
cluster.health:
446-
index: .synonyms
447-
wait_for_status: green
448-
449431
- do:
450432
# Warning issued in previous versions
451433
allowed_warnings:

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@ setup:
1414
- synonyms: "test => check"
1515
id: "test-id-3"
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-
2317
---
2418
"Get synonyms set":
2519
- do:

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@ setup:
1212
- synonyms: "bye => goodbye"
1313
id: "test-id-2"
1414

15-
# This is to ensure that all index shards (write and read) are available. In serverless this can take some time.
16-
- do:
17-
cluster.health:
18-
index: .synonyms
19-
wait_for_status: green
20-
2115
---
2216
"Delete synonyms set":
2317
- do:

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@ setup:
1010
- synonyms: "hello, hi"
1111
- synonyms: "goodbye, bye"
1212

13-
# This is to ensure that all index shards (write and read) are available. In serverless this can take some time.
14-
- do:
15-
cluster.health:
16-
index: .synonyms
17-
wait_for_status: green
18-
1913
- do:
2014
synonyms.put_synonym:
2115
id: test-synonyms-1

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@ setup:
1414
- synonyms: "test => check"
1515
id: "test-id-3"
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-
2317
---
2418
"Update a synonyms rule":
2519
- do:

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@ setup:
1414
- synonyms: "test => check"
1515
id: "test-id-3"
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-
2317
---
2418
"Get a synonym rule":
2519
- do:

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@ setup:
1414
- synonyms: "test => check"
1515
id: "test-id-3"
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-
2317
---
2418
"Delete synonym rule":
2519
- do:

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,6 @@ setup:
1313
- synonyms: "bye => goodbye"
1414
id: "synonym-rule-2"
1515

16-
# This is to ensure that all index shards (write and read) are available. In serverless this can take some time.
17-
- do:
18-
cluster.health:
19-
index: .synonyms
20-
wait_for_status: green
21-
2216
# Create an index with synonym_filter that uses that synonyms set
2317
- do:
2418
indices.create:

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@ 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-
2317
# Create synonyms synonyms_set2
2418
- do:
2519
synonyms.put_synonym:

0 commit comments

Comments
 (0)