Update yaml test with job id in path

Original commit: elastic/x-pack-elasticsearch@f74f1250d8
This commit is contained in:
David Kyle 2017-01-10 11:53:48 +00:00
parent dee7412044
commit 9bc839b0fe
1 changed files with 4 additions and 4 deletions

View File

@ -1,19 +1,19 @@
setup: setup:
- do: - do:
xpack.prelert.put_job: xpack.ml.put_job:
job_id: custom-all-test-1
body: > body: >
{ {
"job_id": "custom-all-test-1",
"description":"Job for testing custom all field", "description":"Job for testing custom all field",
"analysis_config" : { "analysis_config" : {
"detectors" :[{"function":"metric","field_name":"responsetime","by_field_name":"airline"}] "detectors" :[{"function":"metric","field_name":"responsetime","by_field_name":"airline"}]
} }
} }
- do: - do:
xpack.prelert.put_job: xpack.ml.put_job:
job_id: custom-all-test-2
body: > body: >
{ {
"job_id": "custom-all-test-2",
"description":"Job for testing custom all field", "description":"Job for testing custom all field",
"analysis_config" : { "analysis_config" : {
"detectors" :[{"function":"metric","field_name":"responsetime","by_field_name":"airline"}] "detectors" :[{"function":"metric","field_name":"responsetime","by_field_name":"airline"}]