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
This commit is contained in:
Ali Beyad 2016-07-15 17:18:34 -04:00 committed by GitHub
parent 9f78f8cc91
commit 19d0dbcd17
66 changed files with 0 additions and 266 deletions

View File

@ -119,10 +119,6 @@ setup:
indices.refresh:
index: [test, unmapped]
- do:
cluster.health:
wait_for_status: yellow
---
"Unmapped":

View File

@ -119,10 +119,6 @@ setup:
indices.refresh:
index: [test, unmapped]
- do:
cluster.health:
wait_for_status: yellow
---
"Unmapped":

View File

@ -278,9 +278,6 @@
body:
settings:
number_of_shards: 1
- do:
cluster.health:
wait_for_status: yellow
- do:
index:
index: test

View File

@ -6,9 +6,6 @@
body:
settings:
number_of_replicas: 5
- do:
cluster.health:
wait_for_status: yellow
- do:
index:
index: test

View File

@ -7,9 +7,6 @@
body:
settings:
number_of_shards: 1
- do:
cluster.health:
wait_for_status: yellow
- do:
index:
index: test
@ -50,9 +47,6 @@
body:
settings:
number_of_shards: 1
- do:
cluster.health:
wait_for_status: yellow
- do:
index:
index: test
@ -94,9 +88,6 @@
body:
settings:
number_of_shards: 1
- do:
cluster.health:
wait_for_status: yellow
- do:
index:
index: test
@ -157,9 +148,6 @@
body:
settings:
number_of_shards: 1
- do:
cluster.health:
wait_for_status: yellow
- do:
index:
index: test

View File

@ -6,9 +6,6 @@
body:
settings:
number_of_replicas: 5
- do:
cluster.health:
wait_for_status: yellow
- do:
index:
index: src

View File

@ -9,9 +9,6 @@
settings:
number_of_shards: "1"
number_of_replicas: "0"
- do:
cluster.health:
wait_for_status: yellow
- do:
index:
index: source
@ -61,9 +58,6 @@
settings:
number_of_shards: "1"
number_of_replicas: "0"
- do:
cluster.health:
wait_for_status: yellow
- do:
index:
index: source
@ -113,9 +107,6 @@
settings:
number_of_shards: "1"
number_of_replicas: "0"
- do:
cluster.health:
wait_for_status: yellow
- do:
index:
index: source
@ -171,9 +162,6 @@
settings:
number_of_shards: "1"
number_of_replicas: "0"
- do:
cluster.health:
wait_for_status: yellow
- do:
index:
index: source

View File

@ -217,9 +217,6 @@
body:
settings:
number_of_shards: 1
- do:
cluster.health:
wait_for_status: yellow
- do:
index:
index: test

View File

@ -9,9 +9,6 @@
properties:
name:
type: text
- do:
cluster.health:
wait_for_status: yellow
- do:
index:
index: test

View File

@ -6,9 +6,6 @@
body:
settings:
number_of_replicas: 5
- do:
cluster.health:
wait_for_status: yellow
- do:
index:
index: test

View File

@ -7,9 +7,6 @@
body:
settings:
number_of_shards: 1
- do:
cluster.health:
wait_for_status: yellow
- do:
index:
index: test
@ -46,9 +43,6 @@
body:
settings:
number_of_shards: 1
- do:
cluster.health:
wait_for_status: yellow
- do:
index:
index: test
@ -86,9 +80,6 @@
body:
settings:
number_of_shards: 1
- do:
cluster.health:
wait_for_status: yellow
- do:
index:
index: test
@ -136,9 +127,6 @@
body:
settings:
number_of_shards: 1
- do:
cluster.health:
wait_for_status: yellow
- do:
index:
index: test

View File

@ -24,9 +24,6 @@
text:
type: text
analyzer: my_analyzer
- do:
cluster.health:
wait_for_status: yellow
- do:
index:

View File

@ -12,9 +12,6 @@
text:
type: text
analyzer: kuromoji
- do:
cluster.health:
wait_for_status: yellow
- do:
index:

View File

@ -19,9 +19,6 @@
type: phonetic
encoder: metaphone
replace: false
- do:
cluster.health:
wait_for_status: yellow
- do:
indices.analyze:
index: phonetic_sample

View File

@ -19,9 +19,6 @@
type: phonetic
encoder: double_metaphone
max_code_len: 6
- do:
cluster.health:
wait_for_status: yellow
- do:
indices.analyze:
index: phonetic_sample

View File

@ -21,9 +21,6 @@
rule_type: exact
name_type: ashkenazi
languageset: polish
- do:
cluster.health:
wait_for_status: yellow
- do:
indices.analyze:
index: phonetic_sample

View File

@ -24,9 +24,6 @@
text:
type: text
analyzer: my_analyzer
- do:
cluster.health:
wait_for_status: yellow
- do:
index:

View File

@ -18,9 +18,6 @@
daitch_mokotoff:
type: phonetic
encoder: daitch_mokotoff
- do:
cluster.health:
wait_for_status: yellow
- do:
indices.analyze:
index: phonetic_sample

View File

@ -12,9 +12,6 @@
text:
type: text
analyzer: smartcn
- do:
cluster.health:
wait_for_status: yellow
- do:
index:

View File

@ -12,9 +12,6 @@
text:
type: text
analyzer: polish
- do:
cluster.health:
wait_for_status: yellow
- do:
index:

View File

@ -14,10 +14,6 @@
properties:
file:
type: attachment
- do:
cluster.health:
wait_for_status: yellow
- do:
catch: /(.)*mapper_parsing_exception.+No content is provided\.(.)*/
index:
@ -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\.(.)*/

View File

@ -11,9 +11,6 @@ setup:
properties:
file:
type: attachment
- do:
cluster.health:
wait_for_status: yellow
---
# Encoded content with https://www.base64encode.org/

View File

@ -32,9 +32,6 @@
"store": true
"name":
"store": true
- do:
cluster.health:
wait_for_status: yellow
- do:
index:

View File

@ -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">

View File

@ -20,9 +20,6 @@ setup:
content_type:
store: true
- do:
cluster.health:
wait_for_status: yellow
---
"Test mapper attachment processor with .doc file":

View File

@ -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:

View File

@ -6,10 +6,6 @@
index:
store.type: smb_mmap_fs
- do:
cluster.health:
wait_for_status: yellow
- do:
index:
index: smb-test

View File

@ -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:

View File

@ -46,10 +46,6 @@
indices.create:
index: test
- do:
cluster.health:
wait_for_status: yellow
- do:
cat.allocation: {}

View File

@ -15,9 +15,6 @@
settings:
number_of_shards: "1"
number_of_replicas: "0"
- do:
cluster.health:
wait_for_status: yellow
- do:
cat.indices: {}

View File

@ -15,9 +15,6 @@
id: 1
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

View File

@ -139,9 +139,6 @@
settings:
number_of_shards: "5"
number_of_replicas: "1"
- do:
cluster.health:
wait_for_status: yellow
- do:
cat.shards: {}
@ -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:

View File

@ -9,10 +9,6 @@
indices.create:
index: test
- do:
cluster.health:
wait_for_status: yellow
- do:
cluster.state:
metric: [ master_node ]
@ -49,10 +45,6 @@
index: test
body: { "index.number_of_shards": 1, "index.number_of_replicas": 9 }
- do:
cluster.health:
wait_for_status: yellow
- do:
cluster.state:
metric: [ master_node ]

View File

@ -46,7 +46,6 @@
index: test_index
- do:
cluster.health:
wait_for_status: yellow
level: indices
- is_true: indices

View File

@ -9,10 +9,6 @@
test:
_parent: { type: "foo" }
- do:
cluster.health:
wait_for_status: yellow
- do:
catch: /routing_missing_exception/
create:

View File

@ -8,10 +8,6 @@
settings:
index.refresh_interval: -1
number_of_replicas: 0
- do:
cluster.health:
wait_for_status: yellow
- do:
create:
index: test_1

View File

@ -14,9 +14,6 @@
id: 1
routing: 5
body: { foo: bar }
- do:
cluster.health:
wait_for_status: yellow
- do:
catch: missing

View File

@ -9,9 +9,6 @@
mappings:
test:
_parent: { type: "foo" }
- do:
cluster.health:
wait_for_status: yellow
- do:
index:

View File

@ -7,9 +7,6 @@ setup:
mappings:
test:
_parent: { type: "foo" }
- do:
cluster.health:
wait_for_status: yellow
---
"Parent":

View File

@ -5,10 +5,6 @@ setup:
body:
aliases:
alias_1: {}
- do:
cluster.health:
wait_for_status: yellow
- do:
index:
index: test_1

View File

@ -7,9 +7,6 @@ setup:
mappings:
test:
_parent: { type: "foo" }
- do:
cluster.health:
wait_for_status: yellow
- do:
index:

View File

@ -7,9 +7,6 @@ setup:
mappings:
test:
_parent: { type: "foo" }
- do:
cluster.health:
wait_for_status: yellow
- do:
index:

View File

@ -7,9 +7,6 @@ setup:
mappings:
test:
_source: { enabled: false }
- do:
cluster.health:
wait_for_status: yellow
- do:
index:

View File

@ -8,9 +8,6 @@
mappings:
test:
_parent: { type: "foo" }
- do:
cluster.health:
wait_for_status: yellow
- do:
catch: /routing_missing_exception/

View File

@ -8,9 +8,6 @@
settings:
index.refresh_interval: -1
number_of_replicas: 0
- do:
cluster.health:
wait_for_status: yellow
- do:
index:

View File

@ -35,10 +35,6 @@ setup:
text:
type: text
analyzer: whitespace
- do:
cluster.health:
wait_for_status: yellow
- do:
indices.analyze:

View File

@ -33,10 +33,6 @@ setup:
test_alias: {}
test_blias: {}
- do:
cluster.health:
wait_for_status: yellow
- do:
indices.close:
index: test_index_3

View File

@ -9,9 +9,6 @@ setup:
properties:
text:
type: text
- do:
cluster.health:
wait_for_status: yellow
---
"Get field mapping with no index and type":

View File

@ -11,9 +11,6 @@
text:
type: text
analyzer: whitespace
- do:
cluster.health:
wait_for_status: yellow
- do:
indices.get_field_mapping:

View File

@ -11,9 +11,6 @@
text:
type: text
analyzer: whitespace
- do:
cluster.health:
wait_for_status: yellow
- do:
catch: missing

View File

@ -40,10 +40,6 @@ setup:
i_t3:
type: text
- do:
cluster.health:
wait_for_status: yellow
---
"Get field mapping with * for fields":

View File

@ -51,10 +51,6 @@
- is_true: ''
- do:
cluster.health:
wait_for_status: yellow
# index into new index
- do:
index:

View File

@ -15,10 +15,6 @@ setup:
id: 1
body: { "foo": "baz" }
- do:
cluster.health:
wait_for_status: yellow
---
"Level - blank":
- do:

View File

@ -6,10 +6,6 @@ setup:
settings:
number_of_replicas: 0
- do:
cluster.health:
wait_for_status: yellow
---
"Validate query api":
- do:

View File

@ -10,10 +10,6 @@
id: 1
body: { foo: bar }
- do:
cluster.health:
wait_for_status: yellow
- do:
mget:
index: test_1

View File

@ -7,10 +7,6 @@
id: 1
body: { foo: bar }
- do:
cluster.health:
wait_for_status: yellow
- do:
mget:
body:

View File

@ -8,10 +8,6 @@
id: 1
body: { foo: bar }
- do:
cluster.health:
wait_for_status: yellow
- do:
catch: /action_request_validation_exception.+ id is missing/
mget:

View File

@ -14,10 +14,6 @@
id: 2
body: { foo: baz }
- do:
cluster.health:
wait_for_status: yellow
- do:
mget:
index: test_1

View File

@ -8,10 +8,6 @@
id: 1
body: { foo: bar }
- do:
cluster.health:
wait_for_status: yellow
- do:
mget:
index: test_1

View File

@ -10,9 +10,6 @@
_parent: { type: "foo" }
settings:
number_of_shards: 5
- do:
cluster.health:
wait_for_status: yellow
- do:
index:

View File

@ -3,10 +3,6 @@ setup:
- do:
indices.create:
index: test_1
- do:
cluster.health:
wait_for_status: yellow
---
"Check Status":
- do:

View File

@ -4,10 +4,6 @@
indices.create:
index: test_1
- do:
cluster.health:
wait_for_status: yellow
- do:
search_shards:
index: test_1

View File

@ -17,10 +17,6 @@ setup:
number_of_shards: 1
number_of_replicas: 1
- do:
cluster.health:
wait_for_status: yellow
---
"Create a snapshot":

View File

@ -7,10 +7,6 @@ setup:
mappings:
test:
_parent: { type: "foo" }
- do:
cluster.health:
wait_for_status: yellow
---
"Parent":

View File

@ -8,9 +8,6 @@
settings:
index.refresh_interval: -1
number_of_replicas: 0
- do:
cluster.health:
wait_for_status: yellow
- do:
update:

View File

@ -13,10 +13,6 @@
test:
_parent: { type: "foo" }
- do:
cluster.health:
wait_for_status: yellow
- do:
update:
index: test_1