Test: Fixed incorrect YAML indentation in the `indices.put_template/10_basic.yaml` test

The Ruby YAML parser ignores the `do` actions when they are not indented,
making the test suite fail.

Related: #19506

Closes #19529
This commit is contained in:
Karel Minarik 2016-07-21 11:28:34 +02:00
parent e22bd08e3c
commit 8c721b10af
1 changed files with 20 additions and 20 deletions

View File

@ -87,34 +87,34 @@
index.analysis.analyzer.foobar_search.type: "standard" index.analysis.analyzer.foobar_search.type: "standard"
- do: - do:
index: index:
index: test_index index: test_index
type: test type: test
body: { field: "the quick brown fox" } body: { field: "the quick brown fox" }
- do: - do:
indices.refresh: indices.refresh:
index: test_index index: test_index
- do: - do:
search: search:
index: test_index index: test_index
type: test type: test
body: body:
query: query:
term: term:
field: "the quick brown fox" field: "the quick brown fox"
- match: {hits.total: 1} - match: {hits.total: 1}
- do: - do:
search: search:
index: test_index index: test_index
type: test type: test
body: body:
query: query:
match: match:
field: "the quick brown fox" field: "the quick brown fox"
- match: {hits.total: 0} - match: {hits.total: 0}