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"
|
||||
|
||||
- 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}
|
||||
|
||||
|
|
Loading…
Reference in New Issue