The Ruby YAML parser ignores the `do` actions when they are not indented, making the test suite fail. Related: #19506 Closes #19529
@@ -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" }
- indices.refresh:
+ indices.refresh:
- search:
- body:
- query:
- term:
- field: "the quick brown fox"
+ search:
+ body:
+ query:
+ term:
+ field: "the quick brown fox"
- match: {hits.total: 1}
- match:
+ match:
- match: {hits.total: 0}