mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-08 22:14:59 +00:00
Test: Temporarily change delete/put_mapping to wait for green
Delete and update mapping execution order has changed with #6762
This commit is contained in:
parent
135404fffc
commit
34893c0570
@ -4,6 +4,8 @@
|
||||
indices.create:
|
||||
index: test_index
|
||||
body:
|
||||
settings:
|
||||
number_of_replicas: 0
|
||||
mappings:
|
||||
test_type:
|
||||
properties:
|
||||
@ -13,7 +15,7 @@
|
||||
|
||||
- do:
|
||||
cluster.health:
|
||||
wait_for_status: yellow
|
||||
wait_for_status: green
|
||||
|
||||
- do:
|
||||
indices.exists_type:
|
||||
|
@ -5,21 +5,24 @@ setup:
|
||||
index: test_index1
|
||||
body:
|
||||
mappings: { test_type1: { }}
|
||||
settings: { number_of_replicas: 0 }
|
||||
|
||||
- do:
|
||||
indices.create:
|
||||
index: test_index2
|
||||
body:
|
||||
mappings: { test_type2: { }}
|
||||
settings: { number_of_replicas: 0 }
|
||||
- do:
|
||||
indices.create:
|
||||
index: foo
|
||||
body:
|
||||
mappings: { test_type2: { }}
|
||||
settings: { number_of_replicas: 0 }
|
||||
|
||||
- do:
|
||||
cluster.health:
|
||||
wait_for_status: yellow
|
||||
wait_for_status: green
|
||||
---
|
||||
"delete with _all index":
|
||||
- do:
|
||||
|
@ -3,6 +3,12 @@
|
||||
- do:
|
||||
indices.create:
|
||||
index: test_index
|
||||
body:
|
||||
settings:
|
||||
number_of_replicas: 0
|
||||
- do:
|
||||
cluster.health:
|
||||
wait_for_status: green
|
||||
|
||||
- do:
|
||||
indices.put_mapping:
|
||||
|
@ -2,13 +2,24 @@ setup:
|
||||
- do:
|
||||
indices.create:
|
||||
index: test_index1
|
||||
body:
|
||||
settings:
|
||||
number_of_replicas: 0
|
||||
- do:
|
||||
indices.create:
|
||||
index: test_index2
|
||||
body:
|
||||
settings:
|
||||
number_of_replicas: 0
|
||||
- do:
|
||||
indices.create:
|
||||
index: foo
|
||||
|
||||
body:
|
||||
settings:
|
||||
number_of_replicas: 0
|
||||
- do:
|
||||
cluster.health:
|
||||
wait_for_status: green
|
||||
|
||||
---
|
||||
"put one mapping per index":
|
||||
|
Loading…
x
Reference in New Issue
Block a user