Skip to content

Commit e53aba2

Browse files
committed
Updates indices.shrink test
1 parent 222a847 commit e53aba2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/indices/shrink.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -7,33 +7,33 @@ setup:
77
- do:
88
indices.create:
99
index: shrink_source
10-
wait_for_active_shards: 1
1110
body:
1211
settings:
1312
# ensure everything is allocated on the same data node
14-
index.routing.allocation.include._id: $node_id
1513
index.number_of_shards: 2
1614
index.number_of_replicas: 0
1715
- do:
1816
index:
19-
index: shrink_source
17+
index: "shrink_source"
2018
id: "1"
2119
body: { "foo": "hello world" }
2220
# make it read-only
2321
- do:
2422
indices.put_settings:
25-
index: shrink_source
23+
index: "shrink_source"
2624
body:
2725
index.blocks.write: true
2826
index.number_of_replicas: 0
2927
---
3028
teardown:
3129
- do:
3230
indices.delete:
33-
index: shrink_source
31+
index: "shrink_source"
32+
ignore: 404
3433
- do:
3534
indices.delete:
36-
index: shrink_target
35+
index: "shrink_target"
36+
ignore: 404
3737
---
3838
'indices.shrink':
3939
- do:

0 commit comments

Comments
 (0)