Skip to content
Open
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 @@ -75,7 +75,7 @@ setup:
headers:
Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser
indices.refresh:
index: [.ml-anomalies-shared]
index: [.ml-anomalies*]

---
"Test querying custom all field":
Expand Down Expand Up @@ -148,7 +148,7 @@ setup:

- do:
search:
index: .ml-anomalies-shared
index: .ml-anomalies-custom-all-test-1,.ml-anomalies-custom-all-test-2
expand_wildcards: all
rest_total_hits_as_int: true
body: { query: { bool: { must: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ setup:
headers:
Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser
indices.refresh:
index: [.ml-anomalies-shared]
index: [.ml-anomalies*]

- do:
ml.get_job_stats:
Expand Down Expand Up @@ -444,7 +444,7 @@ setup:

# With the index closed the low level ML API reports a problem
- do:
catch: /type=cluster_block_exception, reason=index \[.ml-anomalies-shared\] blocked by. \[FORBIDDEN\/.\/index closed\]/
catch: /type=cluster_block_exception, reason=index \[.ml-anomalies-shared.*?\] blocked by. \[FORBIDDEN\/.\/index closed\]/
ml.get_job_stats: {}

# But the high level X-Pack API returns what it can - we do this
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ setup:
headers:
Authorization: "Basic eF9wYWNrX3Jlc3RfdXNlcjp4LXBhY2stdGVzdC1wYXNzd29yZA==" # run as x_pack_rest_user, i.e. the test setup superuser
indices.refresh:
index: [.ml-anomalies-shared,.ml-state-000001]
index: [.ml-anomalies*,.ml-state-000001]

---
"Test with unknown job id":
Expand Down