Skip to content

Commit dc64cea

Browse files
author
Andrey Ershov
committed
Fix "Get snapshot info with metadata"
1 parent 35a171f commit dc64cea

File tree

1 file changed

+7
-7
lines changed
  • rest-api-spec/src/main/resources/rest-api-spec/test/snapshot.get

1 file changed

+7
-7
lines changed

rest-api-spec/src/main/resources/rest-api-spec/test/snapshot.get/10_basic.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ setup:
172172
---
173173
"Get snapshot info with metadata":
174174
- skip:
175-
version: " - 7.2.99"
176-
reason: "metadata field was added in 7.3"
175+
version: " - 7.9.99"
176+
reason: "8.0 changes get snapshots response format"
177177

178178
- do:
179179
indices.create:
@@ -196,11 +196,11 @@ setup:
196196
repository: test_repo_get_1
197197
snapshot: test_snapshot_with_metadata
198198

199-
- is_true: snapshots
200-
- match: { snapshots.0.snapshot: test_snapshot_with_metadata }
201-
- match: { snapshots.0.state: SUCCESS }
202-
- match: { snapshots.0.metadata.taken_by: test }
203-
- match: { snapshots.0.metadata.foo.bar: baz }
199+
- is_true: responses.0.snapshots
200+
- match: { responses.0.snapshots.0.snapshot: test_snapshot_with_metadata }
201+
- match: { responses.0.snapshots.0.state: SUCCESS }
202+
- match: { responses.0.snapshots.0.metadata.taken_by: test }
203+
- match: { responses.0.snapshots.0.metadata.foo.bar: baz }
204204

205205
- do:
206206
snapshot.delete:

0 commit comments

Comments
 (0)