File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 7
7
- do :
8
8
indices.create :
9
9
index : shrink_source
10
- wait_for_active_shards : 1
11
10
body :
12
11
settings :
13
12
# ensure everything is allocated on the same data node
14
- index.routing.allocation.include._id : $node_id
15
13
index.number_of_shards : 2
16
14
index.number_of_replicas : 0
17
15
- do :
18
16
index :
19
- index : shrink_source
17
+ index : " shrink_source"
20
18
id : " 1"
21
19
body : { "foo": "hello world" }
22
20
# make it read-only
23
21
- do :
24
22
indices.put_settings :
25
- index : shrink_source
23
+ index : " shrink_source"
26
24
body :
27
25
index.blocks.write : true
28
26
index.number_of_replicas : 0
29
27
---
30
28
teardown :
31
29
- do :
32
30
indices.delete :
33
- index : shrink_source
31
+ index : " shrink_source"
32
+ ignore : 404
34
33
- do :
35
34
indices.delete :
36
- index : shrink_target
35
+ index : " shrink_target"
36
+ ignore : 404
37
37
---
38
38
' indices.shrink ' :
39
39
- do :
You can’t perform that action at this time.
0 commit comments