[TEST] fix to wildcard_expansion tests to wait for green status

This commit is contained in:
Colin Goodheart-Smithe 2014-08-18 10:18:12 +01:00
parent a207f8c7b1
commit 925a4ba28b

View File

@ -25,10 +25,20 @@ setup:
mappings: mappings:
type_4: {} type_4: {}
- do:
cluster.health:
wait_for_status: green
timeout: 1s
- do: - do:
indices.close: indices.close:
index: test-xyy index: test-xyy
- do:
cluster.health:
wait_for_status: green
timeout: 1s
--- ---
"Get test-* with defaults": "Get test-* with defaults":