Graph: Moved the index creation to a `setup` section in the REST test

Closes elastic/elasticsearch#2679

Original commit: elastic/x-pack-elasticsearch@51a4a5e530
This commit is contained in:
Karel Minarik 2016-07-11 14:43:37 +02:00
parent 0b3c97c083
commit dc6e78a62c
1 changed files with 16 additions and 14 deletions

View File

@ -1,19 +1,21 @@
---
setup:
- do:
indices.create:
index: test_1
body:
settings:
index:
number_of_shards: 1
number_of_replicas: 0
mappings:
test:
properties:
keys:
type : integer
--- ---
"Test basic graph explore": "Test basic graph explore":
- do:
indices.create:
index: test_1
body:
settings:
index:
number_of_replicas: 0
number_of_shards: 1
mappings:
test:
properties:
keys:
type : "integer"
- do: - do:
index: index:
index: test_1 index: test_1