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:
parent
e22bd08e3c
commit
8c721b10af
|
@ -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}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue