mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-08 14:05:27 +00:00
We cut over to run tests only for `.yml` files in elastic/elasticsearch#24659 The corresponding x-pack change was missing, this commit fixes it. relates elastic/x-pack-elasticsearch#1457 Original commit: elastic/x-pack-elasticsearch@4c1d82c209
28 lines
450 B
YAML
28 lines
450 B
YAML
---
|
|
"Tribe node search":
|
|
|
|
- do:
|
|
index:
|
|
index: index1
|
|
type: test
|
|
id: 1
|
|
body: { foo: bar }
|
|
|
|
- do:
|
|
index:
|
|
index: index2
|
|
type: test
|
|
id: 1
|
|
body: { foo: bar }
|
|
|
|
- do:
|
|
indices.refresh: {}
|
|
|
|
- do:
|
|
search:
|
|
index: index1,index2
|
|
body:
|
|
query: { term: { foo: bar }}
|
|
|
|
- match: { hits.total: 2 }
|