mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-09 06:25:07 +00:00
This reverts: "Test: Temporarily change delete/put_mapping to wait for green": commit e408f8f638c2dd97a3ec86c8a9ac940f43ab37a0. "[TEST] wait for green to update mapping": commit b3641a2ee6eb23318d49f5f04b39149e70c2b65b.
36 lines
657 B
YAML
36 lines
657 B
YAML
---
|
|
"delete mapping tests":
|
|
- do:
|
|
indices.create:
|
|
index: test_index
|
|
body:
|
|
mappings:
|
|
test_type:
|
|
properties:
|
|
text:
|
|
type: string
|
|
analyzer: whitespace
|
|
|
|
- do:
|
|
cluster.health:
|
|
wait_for_status: yellow
|
|
|
|
- do:
|
|
indices.exists_type:
|
|
index: test_index
|
|
type: test_type
|
|
|
|
- is_true: ''
|
|
|
|
- do:
|
|
indices.delete_mapping:
|
|
index: test_index
|
|
type: test_type
|
|
|
|
- do:
|
|
indices.exists_type:
|
|
index: test_index
|
|
type: test_type
|
|
|
|
- is_false: ''
|