Remove unnecessary indices refresh and wait for green status in REST tests
This commit is contained in:
parent
737db98bd7
commit
64ca834722
|
@ -45,9 +45,6 @@
|
||||||
type: type
|
type: type
|
||||||
body: { foo: bar }
|
body: { foo: bar }
|
||||||
refresh: true
|
refresh: true
|
||||||
- do:
|
|
||||||
cluster.health:
|
|
||||||
wait_for_status: green
|
|
||||||
- do:
|
- do:
|
||||||
cat.segments: {}
|
cat.segments: {}
|
||||||
- match:
|
- match:
|
||||||
|
@ -62,11 +59,6 @@
|
||||||
settings:
|
settings:
|
||||||
number_of_shards: "3"
|
number_of_shards: "3"
|
||||||
number_of_replicas: "0"
|
number_of_replicas: "0"
|
||||||
- do:
|
|
||||||
cluster.health:
|
|
||||||
wait_for_status: green
|
|
||||||
wait_for_relocating_shards: 0
|
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
index:
|
index:
|
||||||
index: index2
|
index: index2
|
||||||
|
@ -102,10 +94,6 @@
|
||||||
number_of_shards: "1"
|
number_of_shards: "1"
|
||||||
number_of_replicas: "0"
|
number_of_replicas: "0"
|
||||||
|
|
||||||
- do:
|
|
||||||
cluster.health:
|
|
||||||
wait_for_status: green
|
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
indices.close:
|
indices.close:
|
||||||
index: index1
|
index: index1
|
||||||
|
|
|
@ -87,9 +87,6 @@
|
||||||
number_of_shards: 5
|
number_of_shards: 5
|
||||||
number_of_replicas: 0
|
number_of_replicas: 0
|
||||||
|
|
||||||
- do:
|
|
||||||
cluster.health:
|
|
||||||
wait_for_status: green
|
|
||||||
- do:
|
- do:
|
||||||
indices.flush_synced:
|
indices.flush_synced:
|
||||||
index: sync_id_test
|
index: sync_id_test
|
||||||
|
@ -116,10 +113,6 @@
|
||||||
number_of_shards: 5
|
number_of_shards: 5
|
||||||
number_of_replicas: 0
|
number_of_replicas: 0
|
||||||
|
|
||||||
- do:
|
|
||||||
cluster.health:
|
|
||||||
wait_for_status: green
|
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
cat.shards:
|
cat.shards:
|
||||||
index: sync_id_no_flush_test
|
index: sync_id_no_flush_test
|
||||||
|
@ -153,9 +146,6 @@
|
||||||
settings:
|
settings:
|
||||||
number_of_shards: "5"
|
number_of_shards: "5"
|
||||||
number_of_replicas: "0"
|
number_of_replicas: "0"
|
||||||
- do:
|
|
||||||
cluster.health:
|
|
||||||
wait_for_relocating_shards: 0
|
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
cat.shards: {}
|
cat.shards: {}
|
||||||
|
@ -179,9 +169,6 @@
|
||||||
number_of_replicas: "1"
|
number_of_replicas: "1"
|
||||||
shadow_replicas: true
|
shadow_replicas: true
|
||||||
shared_filesystem: false
|
shared_filesystem: false
|
||||||
- do:
|
|
||||||
cluster.health:
|
|
||||||
wait_for_relocating_shards: 0
|
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
cat.shards:
|
cat.shards:
|
||||||
|
|
Loading…
Reference in New Issue