Skip to content

Commit fad52ac

Browse files
delvedordroberts195
authored andcommitted
Removed incorrect ML YAML tests (#39400)
A client cannot know that a job_id is already taken, so this test should not have been specified as a client test
1 parent 9d02114 commit fad52ac

File tree

1 file changed

+0
-18
lines changed
  • x-pack/plugin/src/test/resources/rest-api-spec/test/ml

1 file changed

+0
-18
lines changed

x-pack/plugin/src/test/resources/rest-api-spec/test/ml/jobs_crud.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -236,24 +236,6 @@
236236
"time_format":"yyyy-MM-dd HH:mm:ssX"
237237
}
238238
}
239-
- do:
240-
catch: param
241-
ml.put_job:
242-
job_id: jobs-crud-id-already-taken
243-
body: >
244-
{
245-
"job_id":"jobs-crud-id-already-taken",
246-
"description":"Analysis of response time by airline",
247-
"analysis_config" : {
248-
"bucket_span": "1h",
249-
"detectors" :[{"function":"metric","field_name":"responsetime","by_field_name":"airline"}]
250-
},
251-
"data_description" : {
252-
"field_delimiter":",",
253-
"time_field":"time",
254-
"time_format":"yyyy-MM-dd HH:mm:ssX"
255-
}
256-
}
257239
258240
---
259241
"Test update job":

0 commit comments

Comments
 (0)