-
Notifications
You must be signed in to change notification settings - Fork 1
/
mget.yml
29 lines (29 loc) · 891 Bytes
/
mget.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
requires:
serverless: true
stack: true
---
setup:
- do:
bulk:
body:
- { index: { _index: 'mget_test', _id: '42' } }
- { name: 'Las lenguas de diamante', author: 'Juana de Ibarbourou', release_date: '1918-12-01', page_count: 108}
- { index: { _index: 'mget_test', _id: '44' } }
- { name: 'Bestiario', author: 'Julio Cortazar', release_date: '1952-10-12', page_count: 133}
- { index: { _index: 'mget_test', _id: '43' } }
- { name: 'Tales of love, madness and death', author: 'Horacio Quiroga', release_date: '1917-12-01', page_count: 188 }
refresh: true
---
teardown:
- do:
indices.delete: { index: 'mget_test' }
---
'mget':
- do:
mget:
body:
docs:
- { _index: 'mget_test', _id: '42' }
- { _index: 'mget_test', _id: '43' }
- is_true: 'docs'