mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-22 21:05:23 +00:00
REST test: Fixed index-seal test
Fixed bad YAML, and changed to wait for yellow instead of green, because REST tests usually run on a single node
This commit is contained in:
parent
0bc5b35a59
commit
409e4e5f73
@ -1,16 +1,16 @@
|
||||
---
|
||||
"Index seal rest test":
|
||||
- do:
|
||||
indices.create:
|
||||
index: testing
|
||||
- do:
|
||||
indices.create:
|
||||
index: testing
|
||||
|
||||
- do:
|
||||
cluster.health:
|
||||
wait_for_status: green
|
||||
- do:
|
||||
indices.seal:
|
||||
index: testing
|
||||
- do:
|
||||
indices.stats: {level: shards}
|
||||
- do:
|
||||
cluster.health:
|
||||
wait_for_status: yellow
|
||||
- do:
|
||||
indices.seal:
|
||||
index: testing
|
||||
- do:
|
||||
indices.stats: {level: shards}
|
||||
|
||||
- is_true: indices.testing.shards.0.0.commit.user_data.sync_id
|
||||
- is_true: indices.testing.shards.0.0.commit.user_data.sync_id
|
||||
|
Loading…
x
Reference in New Issue
Block a user