[TEST] Remove indentation on indices.stats test setups

The new indices.stats tests have the setup section indented, which
can cause problems for some yaml parsers.
This commit is contained in:
Zachary Tong 2014-06-18 11:51:10 -04:00
parent a499254566
commit ed62f90620
6 changed files with 112 additions and 112 deletions

View File

@ -1,33 +1,33 @@
---
setup:
- do:
indices.create:
index: test1
body:
settings:
number_of_shards: 5
number_of_replicas: 1
setup:
- do:
indices.create:
index: test1
body:
settings:
number_of_shards: 5
number_of_replicas: 1
- do:
indices.create:
index: test2
body:
settings:
number_of_shards: 4
number_of_replicas: 1
- do:
index:
index: test1
type: bar
id: 1
body: { "foo": "bar" }
- do:
indices.create:
index: test2
body:
settings:
number_of_shards: 4
number_of_replicas: 1
- do:
index:
index: test1
type: bar
id: 1
body: { "foo": "bar" }
- do:
index:
index: test2
type: baz
id: 1
body: { "foo": "baz" }
- do:
index:
index: test2
type: baz
id: 1
body: { "foo": "baz" }
---
"Index - blank":

View File

@ -1,19 +1,19 @@
---
setup:
setup:
- do:
index:
index: test1
type: bar
id: 1
body: { "foo": "bar" }
- do:
index:
index: test1
type: bar
id: 1
body: { "foo": "bar" }
- do:
index:
index: test2
type: baz
id: 1
body: { "foo": "baz" }
- do:
index:
index: test2
type: baz
id: 1
body: { "foo": "baz" }
---
"Metric - blank":

View File

@ -1,19 +1,19 @@
---
setup:
setup:
- do:
index:
index: test1
type: bar
id: 1
body: { "foo": "bar" }
- do:
index:
index: test1
type: bar
id: 1
body: { "foo": "bar" }
- do:
index:
index: test2
type: baz
id: 1
body: { "foo": "baz" }
- do:
index:
index: test2
type: baz
id: 1
body: { "foo": "baz" }
---
"Level - blank":

View File

@ -1,43 +1,43 @@
---
setup:
setup:
- do:
indices.create:
index: test1
body:
mappings:
bar:
properties:
bar:
type: string
fields:
completion:
type: completion
baz:
type: string
fields:
completion:
type: completion
- do:
index:
index: test1
type: bar
id: 1
body: { "bar": "bar", "baz": "baz" }
- do:
indices.create:
index: test1
body:
mappings:
bar:
properties:
bar:
type: string
fields:
completion:
type: completion
baz:
type: string
fields:
completion:
type: completion
- do:
index:
index: test1
type: bar
id: 1
body: { "bar": "bar", "baz": "baz" }
- do:
index:
index: test2
type: baz
id: 1
body: { "bar": "bar", "baz": "baz" }
- do:
index:
index: test2
type: baz
id: 1
body: { "bar": "bar", "baz": "baz" }
- do:
indices.refresh: {}
- do:
indices.refresh: {}
- do:
search:
sort: bar,baz
- do:
search:
sort: bar,baz
---
"Fields - blank":

View File

@ -1,17 +1,17 @@
---
setup:
setup:
- do:
index:
index: test1
type: bar
id: 1
body: { "bar": "bar", "baz": "baz" }
- do:
index:
index: test1
type: bar
id: 1
body: { "bar": "bar", "baz": "baz" }
- do:
search:
body:
stats: [ bar, baz ]
- do:
search:
body:
stats: [ bar, baz ]
---
"Groups - blank":

View File

@ -1,19 +1,19 @@
---
setup:
setup:
- do:
index:
index: test1
type: bar
id: 1
body: { "bar": "bar", "baz": "baz" }
- do:
index:
index: test1
type: bar
id: 1
body: { "bar": "bar", "baz": "baz" }
- do:
index:
index: test2
type: baz
id: 1
body: { "bar": "bar", "baz": "baz" }
- do:
index:
index: test2
type: baz
id: 1
body: { "bar": "bar", "baz": "baz" }
---