[ML] Wait for ML indices in rolling upgrade tests (#30615)
This commit is contained in:
parent
6ec5e4408c
commit
16f5a515f3
|
@ -87,6 +87,13 @@ setup:
|
||||||
xpack.ml.close_job:
|
xpack.ml.close_job:
|
||||||
job_id: mixed-cluster-job
|
job_id: mixed-cluster-job
|
||||||
|
|
||||||
|
# Wait for indices to be fully allocated before
|
||||||
|
# killing the node
|
||||||
|
- do:
|
||||||
|
cluster.health:
|
||||||
|
index: [".ml-state", ".ml-anomalies-shared"]
|
||||||
|
wait_for_status: green
|
||||||
|
|
||||||
---
|
---
|
||||||
"Test get job with rules":
|
"Test get job with rules":
|
||||||
|
|
||||||
|
|
|
@ -49,6 +49,13 @@
|
||||||
job_id: old-cluster-job
|
job_id: old-cluster-job
|
||||||
- match: { count: 1 }
|
- match: { count: 1 }
|
||||||
|
|
||||||
|
# Wait for indices to be fully allocated before
|
||||||
|
# killing the node
|
||||||
|
- do:
|
||||||
|
cluster.health:
|
||||||
|
index: [".ml-state", ".ml-anomalies-shared"]
|
||||||
|
wait_for_status: green
|
||||||
|
|
||||||
---
|
---
|
||||||
"Put job on the old cluster with the default model memory limit and post some data":
|
"Put job on the old cluster with the default model memory limit and post some data":
|
||||||
- do:
|
- do:
|
||||||
|
@ -96,6 +103,13 @@
|
||||||
job_id: no-model-memory-limit-job
|
job_id: no-model-memory-limit-job
|
||||||
- match: { count: 201 }
|
- match: { count: 201 }
|
||||||
|
|
||||||
|
# Wait for indices to be fully allocated before
|
||||||
|
# killing the node
|
||||||
|
- do:
|
||||||
|
cluster.health:
|
||||||
|
index: [".ml-state", ".ml-anomalies-shared"]
|
||||||
|
wait_for_status: green
|
||||||
|
|
||||||
---
|
---
|
||||||
"Put job with empty strings in the configuration":
|
"Put job with empty strings in the configuration":
|
||||||
- do:
|
- do:
|
||||||
|
|
Loading…
Reference in New Issue