[ML] Rolling upgrade test job configurations with empty strings (elastic/x-pack-elasticsearch#2333)
Original commit: elastic/x-pack-elasticsearch@b61947cca7
This commit is contained in:
parent
b818ee285b
commit
91635608ef
|
@ -45,3 +45,23 @@
|
|||
xpack.ml.get_buckets:
|
||||
job_id: old-cluster-job
|
||||
- match: { count: 1 }
|
||||
|
||||
---
|
||||
"Put job with empty strings in the configuration":
|
||||
- do:
|
||||
xpack.ml.put_job:
|
||||
job_id: old-cluster-job-empty-fields
|
||||
body: >
|
||||
{
|
||||
"description": "Cluster upgrade bad config",
|
||||
"analysis_config" : {
|
||||
"influencers": "",
|
||||
"bucket_span": "60s",
|
||||
"detectors" :[{"function":"count","field_name":""}]
|
||||
},
|
||||
"data_description" : {
|
||||
"format":"xcontent",
|
||||
"time_field":"time",
|
||||
"time_format":"epoch"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue