Remove unnecessary headers in Model yaml tests

Original commit: elastic/x-pack-elasticsearch@74e2a5e29a
This commit is contained in:
Zachary Tong 2017-04-04 12:13:23 -04:00
parent 26fb1a6997
commit bac8f010b4
3 changed files with 0 additions and 27 deletions

View File

@ -1,7 +1,4 @@
setup:
- skip:
features: ["headers"]
- do:
xpack.ml.put_job:
job_id: foo
@ -29,9 +26,6 @@ setup:
job_id: foo
- do:
#set the header so we won't randomize it
headers:
Content-Type: application/json
index:
index: .ml-anomalies-foo
type: model_snapshot
@ -68,9 +62,6 @@ setup:
}
- do:
#set the header so we won't randomize it
headers:
Content-Type: application/json
index:
index: .ml-anomalies-foo
type: model_snapshot

View File

@ -1,7 +1,4 @@
setup:
- skip:
features: ["headers"]
- do:
indices.create:
index: .ml-anomalies-foo
@ -13,9 +10,6 @@ setup:
type: date
- do:
#set the header so we won't randomize it
headers:
Content-Type: application/json
index:
index: .ml-anomalies-foo
type: model_snapshot
@ -23,9 +17,6 @@ setup:
body: { "job_id": "foo", "snapshot_id": "1", "timestamp": "2016-06-02T00:00:00Z" }
- do:
#set the header so we won't randomize it
headers:
Content-Type: application/json
index:
index: .ml-anomalies-foo
type: model_snapshot

View File

@ -1,7 +1,4 @@
setup:
- skip:
features: ["headers"]
- do:
indices.create:
index: .ml-anomalies-foo
@ -13,9 +10,6 @@ setup:
type: date
- do:
#set the header so we won't randomize it
headers:
Content-Type: application/json
index:
index: .ml-anomalies-foo
type: model_snapshot
@ -29,9 +23,6 @@ setup:
}
- do:
#set the header so we won't randomize it
headers:
Content-Type: application/json
index:
index: .ml-anomalies-foo
type: model_snapshot