Clinton Gormley 2aab635792 Merge pull request elastic/elasticsearch#409 from clintongormley/bulk_format
REST tests: Bulk API expects an array not a hash

Original commit: elastic/x-pack-elasticsearch@82e39629fa
2015-05-07 16:06:32 +02:00

49 lines
874 B
YAML

---
"Test Hijack and Block Direct Access to Internal Indices":
- do:
cluster.health:
wait_for_status: green
- do:
catch: /not supported/
get:
index: ".watches"
type: "watch"
id: "foo"
- do:
catch: /not supported/
index:
index: ".watches"
type: "watch"
id: "foo"
body: {}
- do:
catch: /not supported/
delete:
index: ".watches"
type: "watch"
id: "foo"
- do:
catch: /not supported/
update:
index: ".watches"
type: "watch"
id: "foo"
body: {}
- do:
catch: /not supported/
bulk:
index: ".watches"
type: "watch"
body: []
- do:
catch: /not supported/
bulk:
index: ".watches"
body: []