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"
- do:
index:
index: test_index
type: test
body: { field: "the quick brown fox" }
index:
index: test_index
type: test
body: { field: "the quick brown fox" }
- do:
indices.refresh:
index: test_index
indices.refresh:
index: test_index
- do:
search:
index: test_index
type: test
body:
query:
term:
field: "the quick brown fox"
search:
index: test_index
type: test
body:
query:
term:
field: "the quick brown fox"
- match: {hits.total: 1}
- do:
search:
index: test_index
type: test
body:
query:
match:
field: "the quick brown fox"
search:
index: test_index
type: test
body:
query:
match:
field: "the quick brown fox"
- match: {hits.total: 0}