Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ML] Wait for ML indices in rolling upgrade tests #30615

Merged
merged 1 commit into from
May 16, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,13 @@ setup:
xpack.ml.close_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":

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@
job_id: old-cluster-job
- 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":
- do:
Expand Down Expand Up @@ -96,6 +103,13 @@
job_id: no-model-memory-limit-job
- 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":
- do:
Expand Down