[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: setup:
- do: - do:
indices.create: indices.create:
index: test1 index: test1
body: body:
settings: settings:
number_of_shards: 5 number_of_shards: 5
number_of_replicas: 1 number_of_replicas: 1
- do: - do:
indices.create: indices.create:
index: test2 index: test2
body: body:
settings: settings:
number_of_shards: 4 number_of_shards: 4
number_of_replicas: 1 number_of_replicas: 1
- do: - do:
index: index:
index: test1 index: test1
type: bar type: bar
id: 1 id: 1
body: { "foo": "bar" } body: { "foo": "bar" }
- do: - do:
index: index:
index: test2 index: test2
type: baz type: baz
id: 1 id: 1
body: { "foo": "baz" } body: { "foo": "baz" }
--- ---
"Index - blank": "Index - blank":

View File

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

View File

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

View File

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

View File

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

View File

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