[TEST] Wait in rolling_upgrade rest test for monitoring indices to be fully allocated
Fixes previous commit elastic/x-pack@8bb4e6a so that it also accounts for monitoring indices that are automatically created by x-pack while the test is running. Original commit: elastic/x-pack-elasticsearch@e50e1a2717
This commit is contained in:
parent
16b624b1e4
commit
c7d7a2bafc
|
@ -3,6 +3,7 @@
|
||||||
- do:
|
- do:
|
||||||
indices.create:
|
indices.create:
|
||||||
index: test_index
|
index: test_index
|
||||||
|
wait_for_active_shards : all
|
||||||
body:
|
body:
|
||||||
settings:
|
settings:
|
||||||
index:
|
index:
|
||||||
|
@ -35,6 +36,6 @@
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
cluster.health:
|
cluster.health:
|
||||||
wait_for_status: green
|
index: ".monitoring-*" # include monitoring-data-* and monitoring-es-*
|
||||||
wait_for_nodes: 2
|
wait_for_active_shards: 4 # 1 primary and 1 replica each for the two monitoring indices
|
||||||
timeout: 25s
|
timeout: 25s
|
||||||
|
|
Loading…
Reference in New Issue