summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Beyad <ali@elastic.co>2016-07-15 17:18:34 -0400
committerGitHub <noreply@github.com>2016-07-15 17:18:34 -0400
commit19d0dbcd17df6cb54e2c0be116d31ab710b8ca92 (patch)
tree1596dd767f72ef12730a8f47ed632fd8cdef5c1d
parent9f78f8cc91e89fa75bca1138218a8dfb93c4337f (diff)
Removes waiting for yellow cluster health upon index (#19460)
creation in the REST tests, as we no longer need it due to index creation now waiting for active shard copies before returning (by default, it waits for the primary of each shard, which is the same as ensuring yellow health). Relates #19450
-rw-r--r--modules/aggs-matrix-stats/src/test/resources/rest-api-spec/test/stats/30_single_value_field.yaml4
-rw-r--r--modules/aggs-matrix-stats/src/test/resources/rest-api-spec/test/stats/40_multi_value_field.yaml4
-rw-r--r--modules/reindex/src/test/resources/rest-api-spec/test/delete_by_query/10_basic.yaml3
-rw-r--r--modules/reindex/src/test/resources/rest-api-spec/test/delete_by_query/50_consistency.yaml3
-rw-r--r--modules/reindex/src/test/resources/rest-api-spec/test/delete_by_query/70_throttle.yaml12
-rw-r--r--modules/reindex/src/test/resources/rest-api-spec/test/reindex/60_consistency.yaml3
-rw-r--r--modules/reindex/src/test/resources/rest-api-spec/test/reindex/70_throttle.yaml12
-rw-r--r--modules/reindex/src/test/resources/rest-api-spec/test/update_by_query/10_basic.yaml3
-rw-r--r--modules/reindex/src/test/resources/rest-api-spec/test/update_by_query/30_new_fields.yaml3
-rw-r--r--modules/reindex/src/test/resources/rest-api-spec/test/update_by_query/50_consistency.yaml3
-rw-r--r--modules/reindex/src/test/resources/rest-api-spec/test/update_by_query/60_throttle.yaml12
-rw-r--r--plugins/analysis-icu/src/test/resources/rest-api-spec/test/analysis_icu/20_search.yaml3
-rw-r--r--plugins/analysis-kuromoji/src/test/resources/rest-api-spec/test/analysis_kuromoji/20_search.yaml3
-rw-r--r--plugins/analysis-phonetic/src/test/resources/rest-api-spec/test/analysis_phonetic/10_metaphone.yaml3
-rw-r--r--plugins/analysis-phonetic/src/test/resources/rest-api-spec/test/analysis_phonetic/20_double_metaphone.yaml3
-rw-r--r--plugins/analysis-phonetic/src/test/resources/rest-api-spec/test/analysis_phonetic/30_beider_morse.yaml3
-rw-r--r--plugins/analysis-phonetic/src/test/resources/rest-api-spec/test/analysis_phonetic/40_search.yaml3
-rw-r--r--plugins/analysis-phonetic/src/test/resources/rest-api-spec/test/analysis_phonetic/50_daitch_mokotoff.yaml3
-rw-r--r--plugins/analysis-smartcn/src/test/resources/rest-api-spec/test/analysis_smartcn/20_search.yaml3
-rw-r--r--plugins/analysis-stempel/src/test/resources/rest-api-spec/test/analysis_stempel/20_search.yaml3
-rw-r--r--plugins/mapper-attachments/src/test/resources/rest-api-spec/test/mapper_attachments/10_index.yaml10
-rw-r--r--plugins/mapper-attachments/src/test/resources/rest-api-spec/test/mapper_attachments/20_search.yaml3
-rw-r--r--plugins/mapper-attachments/src/test/resources/rest-api-spec/test/mapper_attachments/30_mapping.yaml3
-rw-r--r--plugins/mapper-attachments/src/test/resources/rest-api-spec/test/mapper_attachments/40_highlight.yaml4
-rw-r--r--plugins/mapper-attachments/src/test/resources/rest-api-spec/test/mapper_attachments/50_files_supported.yaml3
-rw-r--r--plugins/repository-hdfs/src/test/resources/rest-api-spec/test/hdfs_repository/30_snapshot.yaml5
-rw-r--r--plugins/store-smb/src/test/resources/rest-api-spec/test/store_smb/15_index_creation.yaml4
-rw-r--r--qa/smoke-test-reindex-with-painless/src/test/resources/rest-api-spec/test/reindex/10_script.yaml6
-rwxr-xr-xrest-api-spec/src/main/resources/rest-api-spec/test/cat.allocation/10_basic.yaml4
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/cat.indices/10_basic.yaml3
-rwxr-xr-xrest-api-spec/src/main/resources/rest-api-spec/test/cat.recovery/10_basic.yaml3
-rwxr-xr-xrest-api-spec/src/main/resources/rest-api-spec/test/cat.shards/10_basic.yaml5
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/cluster.allocation_explain/10_basic.yaml8
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/cluster.health/10_basic.yaml1
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/create/50_parent.yaml4
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/create/60_refresh.yaml4
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/delete/30_routing.yaml3
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/delete/40_parent.yaml3
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/exists/30_parent.yaml3
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/explain/10_basic.yaml4
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/get/30_parent.yaml3
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/get_source/30_parent.yaml3
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/get_source/85_source_missing.yaml3
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/index/50_parent.yaml3
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/index/60_refresh.yaml3
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/indices.analyze/10_analyze.yaml4
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/indices.get/10_basic.yaml4
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_field_mapping/10_basic.yaml3
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_field_mapping/20_missing_field.yaml3
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_field_mapping/30_missing_type.yaml3
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_field_mapping/50_field_wildcards.yaml4
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/indices.rollover/10_basic.yaml4
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/12_level.yaml4
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/indices.validate_query/10_basic.yaml4
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/mget/11_default_index_type.yaml4
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/mget/12_non_existent_index.yaml4
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/mget/13_missing_metadata.yaml4
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/mget/15_ids.yaml4
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/mget/20_fields.yaml4
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/mget/30_parent.yaml3
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/msearch/11_status.yaml4
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/search_shards/10_basic.yaml4
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/snapshot.create/10_basic.yaml4
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/update/50_parent.yaml4
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/update/60_refresh.yaml3
-rw-r--r--rest-api-spec/src/main/resources/rest-api-spec/test/update/85_fields_meta.yaml4
66 files changed, 0 insertions, 266 deletions
diff --git a/modules/aggs-matrix-stats/src/test/resources/rest-api-spec/test/stats/30_single_value_field.yaml b/modules/aggs-matrix-stats/src/test/resources/rest-api-spec/test/stats/30_single_value_field.yaml
index 6c2098f181..a314322ef0 100644
--- a/modules/aggs-matrix-stats/src/test/resources/rest-api-spec/test/stats/30_single_value_field.yaml
+++ b/modules/aggs-matrix-stats/src/test/resources/rest-api-spec/test/stats/30_single_value_field.yaml
@@ -119,10 +119,6 @@ setup:
indices.refresh:
index: [test, unmapped]
- - do:
- cluster.health:
- wait_for_status: yellow
-
---
"Unmapped":
diff --git a/modules/aggs-matrix-stats/src/test/resources/rest-api-spec/test/stats/40_multi_value_field.yaml b/modules/aggs-matrix-stats/src/test/resources/rest-api-spec/test/stats/40_multi_value_field.yaml
index 10b722555d..3dc1883315 100644
--- a/modules/aggs-matrix-stats/src/test/resources/rest-api-spec/test/stats/40_multi_value_field.yaml
+++ b/modules/aggs-matrix-stats/src/test/resources/rest-api-spec/test/stats/40_multi_value_field.yaml
@@ -119,10 +119,6 @@ setup:
indices.refresh:
index: [test, unmapped]
- - do:
- cluster.health:
- wait_for_status: yellow
-
---
"Unmapped":
diff --git a/modules/reindex/src/test/resources/rest-api-spec/test/delete_by_query/10_basic.yaml b/modules/reindex/src/test/resources/rest-api-spec/test/delete_by_query/10_basic.yaml
index 041aa127cd..e5bf6368ea 100644
--- a/modules/reindex/src/test/resources/rest-api-spec/test/delete_by_query/10_basic.yaml
+++ b/modules/reindex/src/test/resources/rest-api-spec/test/delete_by_query/10_basic.yaml
@@ -279,9 +279,6 @@
settings:
number_of_shards: 1
- do:
- cluster.health:
- wait_for_status: yellow
- - do:
index:
index: test
type: foo
diff --git a/modules/reindex/src/test/resources/rest-api-spec/test/delete_by_query/50_consistency.yaml b/modules/reindex/src/test/resources/rest-api-spec/test/delete_by_query/50_consistency.yaml
index a69dfdfac0..bc594dce29 100644
--- a/modules/reindex/src/test/resources/rest-api-spec/test/delete_by_query/50_consistency.yaml
+++ b/modules/reindex/src/test/resources/rest-api-spec/test/delete_by_query/50_consistency.yaml
@@ -7,9 +7,6 @@
settings:
number_of_replicas: 5
- do:
- cluster.health:
- wait_for_status: yellow
- - do:
index:
index: test
type: test
diff --git a/modules/reindex/src/test/resources/rest-api-spec/test/delete_by_query/70_throttle.yaml b/modules/reindex/src/test/resources/rest-api-spec/test/delete_by_query/70_throttle.yaml
index 96cfaa42b5..17d233f84f 100644
--- a/modules/reindex/src/test/resources/rest-api-spec/test/delete_by_query/70_throttle.yaml
+++ b/modules/reindex/src/test/resources/rest-api-spec/test/delete_by_query/70_throttle.yaml
@@ -8,9 +8,6 @@
settings:
number_of_shards: 1
- do:
- cluster.health:
- wait_for_status: yellow
- - do:
index:
index: test
type: foo
@@ -51,9 +48,6 @@
settings:
number_of_shards: 1
- do:
- cluster.health:
- wait_for_status: yellow
- - do:
index:
index: test
type: foo
@@ -95,9 +89,6 @@
settings:
number_of_shards: 1
- do:
- cluster.health:
- wait_for_status: yellow
- - do:
index:
index: test
type: foo
@@ -158,9 +149,6 @@
settings:
number_of_shards: 1
- do:
- cluster.health:
- wait_for_status: yellow
- - do:
index:
index: test
type: foo
diff --git a/modules/reindex/src/test/resources/rest-api-spec/test/reindex/60_consistency.yaml b/modules/reindex/src/test/resources/rest-api-spec/test/reindex/60_consistency.yaml
index 323e51b114..54e6e6df0d 100644
--- a/modules/reindex/src/test/resources/rest-api-spec/test/reindex/60_consistency.yaml
+++ b/modules/reindex/src/test/resources/rest-api-spec/test/reindex/60_consistency.yaml
@@ -7,9 +7,6 @@
settings:
number_of_replicas: 5
- do:
- cluster.health:
- wait_for_status: yellow
- - do:
index:
index: src
type: test
diff --git a/modules/reindex/src/test/resources/rest-api-spec/test/reindex/70_throttle.yaml b/modules/reindex/src/test/resources/rest-api-spec/test/reindex/70_throttle.yaml
index 05d7668ed2..36532296be 100644
--- a/modules/reindex/src/test/resources/rest-api-spec/test/reindex/70_throttle.yaml
+++ b/modules/reindex/src/test/resources/rest-api-spec/test/reindex/70_throttle.yaml
@@ -10,9 +10,6 @@
number_of_shards: "1"
number_of_replicas: "0"
- do:
- cluster.health:
- wait_for_status: yellow
- - do:
index:
index: source
type: foo
@@ -62,9 +59,6 @@
number_of_shards: "1"
number_of_replicas: "0"
- do:
- cluster.health:
- wait_for_status: yellow
- - do:
index:
index: source
type: foo
@@ -114,9 +108,6 @@
number_of_shards: "1"
number_of_replicas: "0"
- do:
- cluster.health:
- wait_for_status: yellow
- - do:
index:
index: source
type: foo
@@ -172,9 +163,6 @@
number_of_shards: "1"
number_of_replicas: "0"
- do:
- cluster.health:
- wait_for_status: yellow
- - do:
index:
index: source
type: foo
diff --git a/modules/reindex/src/test/resources/rest-api-spec/test/update_by_query/10_basic.yaml b/modules/reindex/src/test/resources/rest-api-spec/test/update_by_query/10_basic.yaml
index 17b2dc7781..784623f714 100644
--- a/modules/reindex/src/test/resources/rest-api-spec/test/update_by_query/10_basic.yaml
+++ b/modules/reindex/src/test/resources/rest-api-spec/test/update_by_query/10_basic.yaml
@@ -218,9 +218,6 @@
settings:
number_of_shards: 1
- do:
- cluster.health:
- wait_for_status: yellow
- - do:
index:
index: test
type: foo
diff --git a/modules/reindex/src/test/resources/rest-api-spec/test/update_by_query/30_new_fields.yaml b/modules/reindex/src/test/resources/rest-api-spec/test/update_by_query/30_new_fields.yaml
index fc6141cae5..fa2fcae4fa 100644
--- a/modules/reindex/src/test/resources/rest-api-spec/test/update_by_query/30_new_fields.yaml
+++ b/modules/reindex/src/test/resources/rest-api-spec/test/update_by_query/30_new_fields.yaml
@@ -10,9 +10,6 @@
name:
type: text
- do:
- cluster.health:
- wait_for_status: yellow
- - do:
index:
index: test
type: place
diff --git a/modules/reindex/src/test/resources/rest-api-spec/test/update_by_query/50_consistency.yaml b/modules/reindex/src/test/resources/rest-api-spec/test/update_by_query/50_consistency.yaml
index 96c1e70c89..591815fb5c 100644
--- a/modules/reindex/src/test/resources/rest-api-spec/test/update_by_query/50_consistency.yaml
+++ b/modules/reindex/src/test/resources/rest-api-spec/test/update_by_query/50_consistency.yaml
@@ -7,9 +7,6 @@
settings:
number_of_replicas: 5
- do:
- cluster.health:
- wait_for_status: yellow
- - do:
index:
index: test
type: test
diff --git a/modules/reindex/src/test/resources/rest-api-spec/test/update_by_query/60_throttle.yaml b/modules/reindex/src/test/resources/rest-api-spec/test/update_by_query/60_throttle.yaml
index 7ecf7000bf..eb655dec4e 100644
--- a/modules/reindex/src/test/resources/rest-api-spec/test/update_by_query/60_throttle.yaml
+++ b/modules/reindex/src/test/resources/rest-api-spec/test/update_by_query/60_throttle.yaml
@@ -8,9 +8,6 @@
settings:
number_of_shards: 1
- do:
- cluster.health:
- wait_for_status: yellow
- - do:
index:
index: test
type: foo
@@ -47,9 +44,6 @@
settings:
number_of_shards: 1
- do:
- cluster.health:
- wait_for_status: yellow
- - do:
index:
index: test
type: foo
@@ -87,9 +81,6 @@
settings:
number_of_shards: 1
- do:
- cluster.health:
- wait_for_status: yellow
- - do:
index:
index: test
type: foo
@@ -137,9 +128,6 @@
settings:
number_of_shards: 1
- do:
- cluster.health:
- wait_for_status: yellow
- - do:
index:
index: test
type: foo
diff --git a/plugins/analysis-icu/src/test/resources/rest-api-spec/test/analysis_icu/20_search.yaml b/plugins/analysis-icu/src/test/resources/rest-api-spec/test/analysis_icu/20_search.yaml
index 7fe93458af..dce852f07e 100644
--- a/plugins/analysis-icu/src/test/resources/rest-api-spec/test/analysis_icu/20_search.yaml
+++ b/plugins/analysis-icu/src/test/resources/rest-api-spec/test/analysis_icu/20_search.yaml
@@ -24,9 +24,6 @@
text:
type: text
analyzer: my_analyzer
- - do:
- cluster.health:
- wait_for_status: yellow
- do:
index:
diff --git a/plugins/analysis-kuromoji/src/test/resources/rest-api-spec/test/analysis_kuromoji/20_search.yaml b/plugins/analysis-kuromoji/src/test/resources/rest-api-spec/test/analysis_kuromoji/20_search.yaml
index 77d2aaef80..490025dda6 100644
--- a/plugins/analysis-kuromoji/src/test/resources/rest-api-spec/test/analysis_kuromoji/20_search.yaml
+++ b/plugins/analysis-kuromoji/src/test/resources/rest-api-spec/test/analysis_kuromoji/20_search.yaml
@@ -12,9 +12,6 @@
text:
type: text
analyzer: kuromoji
- - do:
- cluster.health:
- wait_for_status: yellow
- do:
index:
diff --git a/plugins/analysis-phonetic/src/test/resources/rest-api-spec/test/analysis_phonetic/10_metaphone.yaml b/plugins/analysis-phonetic/src/test/resources/rest-api-spec/test/analysis_phonetic/10_metaphone.yaml
index 5e45c0a624..02d4b315b6 100644
--- a/plugins/analysis-phonetic/src/test/resources/rest-api-spec/test/analysis_phonetic/10_metaphone.yaml
+++ b/plugins/analysis-phonetic/src/test/resources/rest-api-spec/test/analysis_phonetic/10_metaphone.yaml
@@ -20,9 +20,6 @@
encoder: metaphone
replace: false
- do:
- cluster.health:
- wait_for_status: yellow
- - do:
indices.analyze:
index: phonetic_sample
analyzer: my_analyzer
diff --git a/plugins/analysis-phonetic/src/test/resources/rest-api-spec/test/analysis_phonetic/20_double_metaphone.yaml b/plugins/analysis-phonetic/src/test/resources/rest-api-spec/test/analysis_phonetic/20_double_metaphone.yaml
index 6481d37bd8..675847e557 100644
--- a/plugins/analysis-phonetic/src/test/resources/rest-api-spec/test/analysis_phonetic/20_double_metaphone.yaml
+++ b/plugins/analysis-phonetic/src/test/resources/rest-api-spec/test/analysis_phonetic/20_double_metaphone.yaml
@@ -20,9 +20,6 @@
encoder: double_metaphone
max_code_len: 6
- do:
- cluster.health:
- wait_for_status: yellow
- - do:
indices.analyze:
index: phonetic_sample
analyzer: my_analyzer
diff --git a/plugins/analysis-phonetic/src/test/resources/rest-api-spec/test/analysis_phonetic/30_beider_morse.yaml b/plugins/analysis-phonetic/src/test/resources/rest-api-spec/test/analysis_phonetic/30_beider_morse.yaml
index 68b3f76498..015610af17 100644
--- a/plugins/analysis-phonetic/src/test/resources/rest-api-spec/test/analysis_phonetic/30_beider_morse.yaml
+++ b/plugins/analysis-phonetic/src/test/resources/rest-api-spec/test/analysis_phonetic/30_beider_morse.yaml
@@ -22,9 +22,6 @@
name_type: ashkenazi
languageset: polish
- do:
- cluster.health:
- wait_for_status: yellow
- - do:
indices.analyze:
index: phonetic_sample
analyzer: my_analyzer
diff --git a/plugins/analysis-phonetic/src/test/resources/rest-api-spec/test/analysis_phonetic/40_search.yaml b/plugins/analysis-phonetic/src/test/resources/rest-api-spec/test/analysis_phonetic/40_search.yaml
index fa57d916fc..933abaafc3 100644
--- a/plugins/analysis-phonetic/src/test/resources/rest-api-spec/test/analysis_phonetic/40_search.yaml
+++ b/plugins/analysis-phonetic/src/test/resources/rest-api-spec/test/analysis_phonetic/40_search.yaml
@@ -24,9 +24,6 @@
text:
type: text
analyzer: my_analyzer
- - do:
- cluster.health:
- wait_for_status: yellow
- do:
index:
diff --git a/plugins/analysis-phonetic/src/test/resources/rest-api-spec/test/analysis_phonetic/50_daitch_mokotoff.yaml b/plugins/analysis-phonetic/src/test/resources/rest-api-spec/test/analysis_phonetic/50_daitch_mokotoff.yaml
index b95138f264..5125ae3d68 100644
--- a/plugins/analysis-phonetic/src/test/resources/rest-api-spec/test/analysis_phonetic/50_daitch_mokotoff.yaml
+++ b/plugins/analysis-phonetic/src/test/resources/rest-api-spec/test/analysis_phonetic/50_daitch_mokotoff.yaml
@@ -19,9 +19,6 @@
type: phonetic
encoder: daitch_mokotoff
- do:
- cluster.health:
- wait_for_status: yellow
- - do:
indices.analyze:
index: phonetic_sample
analyzer: my_analyzer
diff --git a/plugins/analysis-smartcn/src/test/resources/rest-api-spec/test/analysis_smartcn/20_search.yaml b/plugins/analysis-smartcn/src/test/resources/rest-api-spec/test/analysis_smartcn/20_search.yaml
index 5aec77f8ce..4101bb1646 100644
--- a/plugins/analysis-smartcn/src/test/resources/rest-api-spec/test/analysis_smartcn/20_search.yaml
+++ b/plugins/analysis-smartcn/src/test/resources/rest-api-spec/test/analysis_smartcn/20_search.yaml
@@ -12,9 +12,6 @@
text:
type: text
analyzer: smartcn
- - do:
- cluster.health:
- wait_for_status: yellow
- do:
index:
diff --git a/plugins/analysis-stempel/src/test/resources/rest-api-spec/test/analysis_stempel/20_search.yaml b/plugins/analysis-stempel/src/test/resources/rest-api-spec/test/analysis_stempel/20_search.yaml
index f699440cb4..d23a7e368b 100644
--- a/plugins/analysis-stempel/src/test/resources/rest-api-spec/test/analysis_stempel/20_search.yaml
+++ b/plugins/analysis-stempel/src/test/resources/rest-api-spec/test/analysis_stempel/20_search.yaml
@@ -12,9 +12,6 @@
text:
type: text
analyzer: polish
- - do:
- cluster.health:
- wait_for_status: yellow
- do:
index:
diff --git a/plugins/mapper-attachments/src/test/resources/rest-api-spec/test/mapper_attachments/10_index.yaml b/plugins/mapper-attachments/src/test/resources/rest-api-spec/test/mapper_attachments/10_index.yaml
index 3f3754109e..5d95ce425c 100644
--- a/plugins/mapper-attachments/src/test/resources/rest-api-spec/test/mapper_attachments/10_index.yaml
+++ b/plugins/mapper-attachments/src/test/resources/rest-api-spec/test/mapper_attachments/10_index.yaml
@@ -15,10 +15,6 @@
file:
type: attachment
- do:
- cluster.health:
- wait_for_status: yellow
-
- - do:
catch: /(.)*mapper_parsing_exception.+No content is provided\.(.)*/
index:
index: test
@@ -59,9 +55,6 @@
type: attachment
file2:
type: attachment
- - do:
- cluster.health:
- wait_for_status: yellow
- do:
index:
@@ -133,9 +126,6 @@
# type: attachment
# file2:
# type: attachment
-# - do:
-# cluster.health:
-# wait_for_status: yellow
#
# - do:
# catch: /(.)*mapper_parsing_exception(.)*The supplied password does not match either the owner or user password in the document\.(.)*/
diff --git a/plugins/mapper-attachments/src/test/resources/rest-api-spec/test/mapper_attachments/20_search.yaml b/plugins/mapper-attachments/src/test/resources/rest-api-spec/test/mapper_attachments/20_search.yaml
index 95d9cef2cb..bc178b1789 100644
--- a/plugins/mapper-attachments/src/test/resources/rest-api-spec/test/mapper_attachments/20_search.yaml
+++ b/plugins/mapper-attachments/src/test/resources/rest-api-spec/test/mapper_attachments/20_search.yaml
@@ -11,9 +11,6 @@ setup:
properties:
file:
type: attachment
- - do:
- cluster.health:
- wait_for_status: yellow
---
# Encoded content with https://www.base64encode.org/
diff --git a/plugins/mapper-attachments/src/test/resources/rest-api-spec/test/mapper_attachments/30_mapping.yaml b/plugins/mapper-attachments/src/test/resources/rest-api-spec/test/mapper_attachments/30_mapping.yaml
index f180f51dfc..5aaa5a0796 100644
--- a/plugins/mapper-attachments/src/test/resources/rest-api-spec/test/mapper_attachments/30_mapping.yaml
+++ b/plugins/mapper-attachments/src/test/resources/rest-api-spec/test/mapper_attachments/30_mapping.yaml
@@ -32,9 +32,6 @@
"store": true
"name":
"store": true
- - do:
- cluster.health:
- wait_for_status: yellow
- do:
index:
diff --git a/plugins/mapper-attachments/src/test/resources/rest-api-spec/test/mapper_attachments/40_highlight.yaml b/plugins/mapper-attachments/src/test/resources/rest-api-spec/test/mapper_attachments/40_highlight.yaml
index c2d42be3b9..658887a9ce 100644
--- a/plugins/mapper-attachments/src/test/resources/rest-api-spec/test/mapper_attachments/40_highlight.yaml
+++ b/plugins/mapper-attachments/src/test/resources/rest-api-spec/test/mapper_attachments/40_highlight.yaml
@@ -17,10 +17,6 @@ setup:
"store" : true
"term_vector": "with_positions_offsets"
- - do:
- cluster.health:
- wait_for_status: yellow
-
---
# Encoded content with https://www.base64encode.org/
#<html xmlns="http://www.w3.org/1999/xhtml">
diff --git a/plugins/mapper-attachments/src/test/resources/rest-api-spec/test/mapper_attachments/50_files_supported.yaml b/plugins/mapper-attachments/src/test/resources/rest-api-spec/test/mapper_attachments/50_files_supported.yaml
index 99f427c1ab..a0e1b600bf 100644
--- a/plugins/mapper-attachments/src/test/resources/rest-api-spec/test/mapper_attachments/50_files_supported.yaml
+++ b/plugins/mapper-attachments/src/test/resources/rest-api-spec/test/mapper_attachments/50_files_supported.yaml
@@ -20,9 +20,6 @@ setup:
content_type:
store: true
- - do:
- cluster.health:
- wait_for_status: yellow
---
"Test mapper attachment processor with .doc file":
diff --git a/plugins/repository-hdfs/src/test/resources/rest-api-spec/test/hdfs_repository/30_snapshot.yaml b/plugins/repository-hdfs/src/test/resources/rest-api-spec/test/hdfs_repository/30_snapshot.yaml
index 7db9a42923..20019686d3 100644
--- a/plugins/repository-hdfs/src/test/resources/rest-api-spec/test/hdfs_repository/30_snapshot.yaml
+++ b/plugins/repository-hdfs/src/test/resources/rest-api-spec/test/hdfs_repository/30_snapshot.yaml
@@ -23,11 +23,6 @@
number_of_shards: 1
number_of_replicas: 1
- # Wait for yellow
- - do:
- cluster.health:
- wait_for_status: yellow
-
# Create snapshot
- do:
snapshot.create:
diff --git a/plugins/store-smb/src/test/resources/rest-api-spec/test/store_smb/15_index_creation.yaml b/plugins/store-smb/src/test/resources/rest-api-spec/test/store_smb/15_index_creation.yaml
index f6a964a5da..d036176e32 100644
--- a/plugins/store-smb/src/test/resources/rest-api-spec/test/store_smb/15_index_creation.yaml
+++ b/plugins/store-smb/src/test/resources/rest-api-spec/test/store_smb/15_index_creation.yaml
@@ -7,10 +7,6 @@
store.type: smb_mmap_fs
- do:
- cluster.health:
- wait_for_status: yellow
-
- - do:
index:
index: smb-test
type: doc
diff --git a/qa/smoke-test-reindex-with-painless/src/test/resources/rest-api-spec/test/reindex/10_script.yaml b/qa/smoke-test-reindex-with-painless/src/test/resources/rest-api-spec/test/reindex/10_script.yaml
index 0e99d862fd..a56eb036c6 100644
--- a/qa/smoke-test-reindex-with-painless/src/test/resources/rest-api-spec/test/reindex/10_script.yaml
+++ b/qa/smoke-test-reindex-with-painless/src/test/resources/rest-api-spec/test/reindex/10_script.yaml
@@ -90,9 +90,6 @@
mappings:
tweet:
_parent: { type: "user" }
- - do:
- cluster.health:
- wait_for_status: yellow
- do:
index:
@@ -192,9 +189,6 @@
mappings:
tweet:
_parent: { type: "user" }
- - do:
- cluster.health:
- wait_for_status: yellow
- do:
index:
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.allocation/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.allocation/10_basic.yaml
index c1e25c88b9..7f724831bd 100755
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.allocation/10_basic.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.allocation/10_basic.yaml
@@ -47,10 +47,6 @@
index: test
- do:
- cluster.health:
- wait_for_status: yellow
-
- - do:
cat.allocation: {}
- match:
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.indices/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.indices/10_basic.yaml
index 1e485fc6d3..d2c72f5a60 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.indices/10_basic.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.indices/10_basic.yaml
@@ -16,9 +16,6 @@
number_of_shards: "1"
number_of_replicas: "0"
- do:
- cluster.health:
- wait_for_status: yellow
- - do:
cat.indices: {}
- match:
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.recovery/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.recovery/10_basic.yaml
index fc596dd579..a759efec9b 100755
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.recovery/10_basic.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.recovery/10_basic.yaml
@@ -16,9 +16,6 @@
body: { foo: bar }
refresh: true
- do:
- cluster.health:
- wait_for_status: yellow
- - do:
cat.recovery:
h: i,s,t,ty,st,shost,thost,rep,snap,f,fr,fp,tf,b,br,bp,tb,to,tor,top
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.shards/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.shards/10_basic.yaml
index 28da3be451..ebdffd03ed 100755
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/cat.shards/10_basic.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.shards/10_basic.yaml
@@ -140,9 +140,6 @@
number_of_shards: "5"
number_of_replicas: "1"
- do:
- cluster.health:
- wait_for_status: yellow
- - do:
cat.shards: {}
- match:
@@ -158,7 +155,6 @@
number_of_replicas: "0"
- do:
cluster.health:
- wait_for_status: yellow
wait_for_relocating_shards: 0
- do:
@@ -185,7 +181,6 @@
shared_filesystem: false
- do:
cluster.health:
- wait_for_status: yellow
wait_for_relocating_shards: 0
- do:
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.allocation_explain/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.allocation_explain/10_basic.yaml
index ae7a167fbf..f0195788e0 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.allocation_explain/10_basic.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.allocation_explain/10_basic.yaml
@@ -10,10 +10,6 @@
index: test
- do:
- cluster.health:
- wait_for_status: yellow
-
- - do:
cluster.state:
metric: [ master_node ]
@@ -50,10 +46,6 @@
body: { "index.number_of_shards": 1, "index.number_of_replicas": 9 }
- do:
- cluster.health:
- wait_for_status: yellow
-
- - do:
cluster.state:
metric: [ master_node ]
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.health/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.health/10_basic.yaml
index ba1881e423..f803f3d589 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.health/10_basic.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.health/10_basic.yaml
@@ -46,7 +46,6 @@
index: test_index
- do:
cluster.health:
- wait_for_status: yellow
level: indices
- is_true: indices
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/create/50_parent.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/create/50_parent.yaml
index 44f1ed880f..cac5387370 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/create/50_parent.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/create/50_parent.yaml
@@ -10,10 +10,6 @@
_parent: { type: "foo" }
- do:
- cluster.health:
- wait_for_status: yellow
-
- - do:
catch: /routing_missing_exception/
create:
index: test_1
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/create/60_refresh.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/create/60_refresh.yaml
index 90dc28bcfc..5cdc1a2058 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/create/60_refresh.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/create/60_refresh.yaml
@@ -9,10 +9,6 @@
index.refresh_interval: -1
number_of_replicas: 0
- do:
- cluster.health:
- wait_for_status: yellow
-
- - do:
create:
index: test_1
type: test
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/delete/30_routing.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/delete/30_routing.yaml
index 857cf76a52..6f67b3a03f 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/delete/30_routing.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/delete/30_routing.yaml
@@ -14,9 +14,6 @@
id: 1
routing: 5
body: { foo: bar }
- - do:
- cluster.health:
- wait_for_status: yellow
- do:
catch: missing
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/delete/40_parent.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/delete/40_parent.yaml
index cd250de331..d9aa687046 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/delete/40_parent.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/delete/40_parent.yaml
@@ -9,9 +9,6 @@
mappings:
test:
_parent: { type: "foo" }
- - do:
- cluster.health:
- wait_for_status: yellow
- do:
index:
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/exists/30_parent.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/exists/30_parent.yaml
index 0f84a1c07d..91fdf027c1 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/exists/30_parent.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/exists/30_parent.yaml
@@ -7,9 +7,6 @@ setup:
mappings:
test:
_parent: { type: "foo" }
- - do:
- cluster.health:
- wait_for_status: yellow
---
"Parent":
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/explain/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/explain/10_basic.yaml
index 1a6c57848e..1923377ba8 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/explain/10_basic.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/explain/10_basic.yaml
@@ -6,10 +6,6 @@ setup:
aliases:
alias_1: {}
- do:
- cluster.health:
- wait_for_status: yellow
-
- - do:
index:
index: test_1
type: test
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/get/30_parent.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/get/30_parent.yaml
index b9a0f46f90..4a842cee2e 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/get/30_parent.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/get/30_parent.yaml
@@ -7,9 +7,6 @@ setup:
mappings:
test:
_parent: { type: "foo" }
- - do:
- cluster.health:
- wait_for_status: yellow
- do:
index:
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/get_source/30_parent.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/get_source/30_parent.yaml
index 35edb90913..8c1088e19b 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/get_source/30_parent.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/get_source/30_parent.yaml
@@ -7,9 +7,6 @@ setup:
mappings:
test:
_parent: { type: "foo" }
- - do:
- cluster.health:
- wait_for_status: yellow
- do:
index:
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/get_source/85_source_missing.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/get_source/85_source_missing.yaml
index 370f68d950..6ec261ac61 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/get_source/85_source_missing.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/get_source/85_source_missing.yaml
@@ -7,9 +7,6 @@ setup:
mappings:
test:
_source: { enabled: false }
- - do:
- cluster.health:
- wait_for_status: yellow
- do:
index:
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/index/50_parent.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/index/50_parent.yaml
index 59e166c99a..916e1ac352 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/index/50_parent.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/index/50_parent.yaml
@@ -8,9 +8,6 @@
mappings:
test:
_parent: { type: "foo" }
- - do:
- cluster.health:
- wait_for_status: yellow
- do:
catch: /routing_missing_exception/
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/index/60_refresh.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/index/60_refresh.yaml
index 4ee2641143..2175128deb 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/index/60_refresh.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/index/60_refresh.yaml
@@ -8,9 +8,6 @@
settings:
index.refresh_interval: -1
number_of_replicas: 0
- - do:
- cluster.health:
- wait_for_status: yellow
- do:
index:
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.analyze/10_analyze.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.analyze/10_analyze.yaml
index 10dc63cd10..5a0a77f926 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.analyze/10_analyze.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.analyze/10_analyze.yaml
@@ -35,10 +35,6 @@ setup:
text:
type: text
analyzer: whitespace
- - do:
- cluster.health:
- wait_for_status: yellow
-
- do:
indices.analyze:
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get/10_basic.yaml
index 218d1e0433..54728644f7 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get/10_basic.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get/10_basic.yaml
@@ -34,10 +34,6 @@ setup:
test_blias: {}
- do:
- cluster.health:
- wait_for_status: yellow
-
- - do:
indices.close:
index: test_index_3
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_field_mapping/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_field_mapping/10_basic.yaml
index 372b5695d3..6cf0a0b7cf 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_field_mapping/10_basic.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_field_mapping/10_basic.yaml
@@ -9,9 +9,6 @@ setup:
properties:
text:
type: text
- - do:
- cluster.health:
- wait_for_status: yellow
---
"Get field mapping with no index and type":
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_field_mapping/20_missing_field.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_field_mapping/20_missing_field.yaml
index 1a97f69ba8..9b8c3efbce 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_field_mapping/20_missing_field.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_field_mapping/20_missing_field.yaml
@@ -11,9 +11,6 @@
text:
type: text
analyzer: whitespace
- - do:
- cluster.health:
- wait_for_status: yellow
- do:
indices.get_field_mapping:
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_field_mapping/30_missing_type.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_field_mapping/30_missing_type.yaml
index efee9cbc3a..dfbd9a4af7 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_field_mapping/30_missing_type.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_field_mapping/30_missing_type.yaml
@@ -11,9 +11,6 @@
text:
type: text
analyzer: whitespace
- - do:
- cluster.health:
- wait_for_status: yellow
- do:
catch: missing
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_field_mapping/50_field_wildcards.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_field_mapping/50_field_wildcards.yaml
index 15056d3377..9d62ab6101 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_field_mapping/50_field_wildcards.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_field_mapping/50_field_wildcards.yaml
@@ -40,10 +40,6 @@ setup:
i_t3:
type: text
- - do:
- cluster.health:
- wait_for_status: yellow
-
---
"Get field mapping with * for fields":
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.rollover/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.rollover/10_basic.yaml
index 0152903b5f..8e2d2533ef 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.rollover/10_basic.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.rollover/10_basic.yaml
@@ -51,10 +51,6 @@
- is_true: ''
- - do:
- cluster.health:
- wait_for_status: yellow
-
# index into new index
- do:
index:
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/12_level.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/12_level.yaml
index fb71e8d203..c766f5eb62 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/12_level.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/12_level.yaml
@@ -15,10 +15,6 @@ setup:
id: 1
body: { "foo": "baz" }
- - do:
- cluster.health:
- wait_for_status: yellow
-
---
"Level - blank":
- do:
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.validate_query/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.validate_query/10_basic.yaml
index 6fce0392e3..a1f9aa8763 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/indices.validate_query/10_basic.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.validate_query/10_basic.yaml
@@ -6,10 +6,6 @@ setup:
settings:
number_of_replicas: 0
- - do:
- cluster.health:
- wait_for_status: yellow
-
---
"Validate query api":
- do:
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/mget/11_default_index_type.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/mget/11_default_index_type.yaml
index b556cf9ec4..773b7e3bcf 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/mget/11_default_index_type.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/mget/11_default_index_type.yaml
@@ -11,10 +11,6 @@
body: { foo: bar }
- do:
- cluster.health:
- wait_for_status: yellow
-
- - do:
mget:
index: test_1
type: test
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/mget/12_non_existent_index.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/mget/12_non_existent_index.yaml
index f91f3236f9..fd0100b0d6 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/mget/12_non_existent_index.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/mget/12_non_existent_index.yaml
@@ -8,10 +8,6 @@
body: { foo: bar }
- do:
- cluster.health:
- wait_for_status: yellow
-
- - do:
mget:
body:
docs:
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/mget/13_missing_metadata.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/mget/13_missing_metadata.yaml
index 8d986a330b..d7af1797f7 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/mget/13_missing_metadata.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/mget/13_missing_metadata.yaml
@@ -9,10 +9,6 @@
body: { foo: bar }
- do:
- cluster.health:
- wait_for_status: yellow
-
- - do:
catch: /action_request_validation_exception.+ id is missing/
mget:
body:
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/mget/15_ids.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/mget/15_ids.yaml
index cdd6c5724f..87c08a3f61 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/mget/15_ids.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/mget/15_ids.yaml
@@ -15,10 +15,6 @@
body: { foo: baz }
- do:
- cluster.health:
- wait_for_status: yellow
-
- - do:
mget:
index: test_1
type: test
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/mget/20_fields.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/mget/20_fields.yaml
index 347fc25f67..f56859ec3c 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/mget/20_fields.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/mget/20_fields.yaml
@@ -9,10 +9,6 @@
body: { foo: bar }
- do:
- cluster.health:
- wait_for_status: yellow
-
- - do:
mget:
index: test_1
type: test
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/mget/30_parent.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/mget/30_parent.yaml
index c9a8b68176..e1cf8df4fc 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/mget/30_parent.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/mget/30_parent.yaml
@@ -10,9 +10,6 @@
_parent: { type: "foo" }
settings:
number_of_shards: 5
- - do:
- cluster.health:
- wait_for_status: yellow
- do:
index:
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/msearch/11_status.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/msearch/11_status.yaml
index ef4d53167b..1451edaf5b 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/msearch/11_status.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/msearch/11_status.yaml
@@ -3,10 +3,6 @@ setup:
- do:
indices.create:
index: test_1
- - do:
- cluster.health:
- wait_for_status: yellow
-
---
"Check Status":
- do:
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/search_shards/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/search_shards/10_basic.yaml
index f442ffdb04..4bfe6e953b 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/search_shards/10_basic.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/search_shards/10_basic.yaml
@@ -5,10 +5,6 @@
index: test_1
- do:
- cluster.health:
- wait_for_status: yellow
-
- - do:
search_shards:
index: test_1
routing: foo
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/snapshot.create/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/snapshot.create/10_basic.yaml
index 91080f9993..43db8e5206 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/snapshot.create/10_basic.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/snapshot.create/10_basic.yaml
@@ -17,10 +17,6 @@ setup:
number_of_shards: 1
number_of_replicas: 1
- - do:
- cluster.health:
- wait_for_status: yellow
-
---
"Create a snapshot":
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/update/50_parent.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/update/50_parent.yaml
index 15adf26596..b25662dbf1 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/update/50_parent.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/update/50_parent.yaml
@@ -7,10 +7,6 @@ setup:
mappings:
test:
_parent: { type: "foo" }
- - do:
- cluster.health:
- wait_for_status: yellow
-
---
"Parent":
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/update/60_refresh.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/update/60_refresh.yaml
index 8c0e7e66c9..c5fe68e26c 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/update/60_refresh.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/update/60_refresh.yaml
@@ -8,9 +8,6 @@
settings:
index.refresh_interval: -1
number_of_replicas: 0
- - do:
- cluster.health:
- wait_for_status: yellow
- do:
update:
diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/update/85_fields_meta.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/update/85_fields_meta.yaml
index 0194453a99..5478d84e2a 100644
--- a/rest-api-spec/src/main/resources/rest-api-spec/test/update/85_fields_meta.yaml
+++ b/rest-api-spec/src/main/resources/rest-api-spec/test/update/85_fields_meta.yaml
@@ -14,10 +14,6 @@
_parent: { type: "foo" }
- do:
- cluster.health:
- wait_for_status: yellow
-
- - do:
update:
index: test_1
type: test