Remove unnecessary indices refresh and wait for green status in REST tests

This commit is contained in:
Tanguy Leroux 2016-08-01 09:35:33 +02:00
parent 737db98bd7
commit 64ca834722
2 changed files with 0 additions and 25 deletions

View File

@ -45,9 +45,6 @@
type: type
body: { foo: bar }
refresh: true
- do:
cluster.health:
wait_for_status: green
- do:
cat.segments: {}
- match:
@ -62,11 +59,6 @@
settings:
number_of_shards: "3"
number_of_replicas: "0"
- do:
cluster.health:
wait_for_status: green
wait_for_relocating_shards: 0
- do:
index:
index: index2
@ -102,10 +94,6 @@
number_of_shards: "1"
number_of_replicas: "0"
- do:
cluster.health:
wait_for_status: green
- do:
indices.close:
index: index1

View File

@ -87,9 +87,6 @@
number_of_shards: 5
number_of_replicas: 0
- do:
cluster.health:
wait_for_status: green
- do:
indices.flush_synced:
index: sync_id_test
@ -116,10 +113,6 @@
number_of_shards: 5
number_of_replicas: 0
- do:
cluster.health:
wait_for_status: green
- do:
cat.shards:
index: sync_id_no_flush_test
@ -153,9 +146,6 @@
settings:
number_of_shards: "5"
number_of_replicas: "0"
- do:
cluster.health:
wait_for_relocating_shards: 0
- do:
cat.shards: {}
@ -179,9 +169,6 @@
number_of_replicas: "1"
shadow_replicas: true
shared_filesystem: false
- do:
cluster.health:
wait_for_relocating_shards: 0
- do:
cat.shards: