diff --git a/tests/snapshot/snapshot/snapshot.yaml b/tests/snapshot/snapshot/snapshot.yaml index 8b5180b9..89732d4a 100644 --- a/tests/snapshot/snapshot/snapshot.yaml +++ b/tests/snapshot/snapshot/snapshot.yaml @@ -66,30 +66,6 @@ chapters: payload: snapshot: snapshot: my-test-snapshot - - synopsis: Delete a snapshot. - path: /_snapshot/{repository}/{snapshot} - method: DELETE - parameters: - repository: my-fs-repository - snapshot: my-test-snapshot - - synopsis: Create a snapshot. - path: /_snapshot/{repository}/{snapshot} - method: PUT - parameters: - repository: my-fs-repository - snapshot: my-test-snapshot - wait_for_completion: true - request: - payload: - indices: '*' - ignore_unavailable: true - include_global_state: false - partial: true - response: - status: 200 - payload: - snapshot: - snapshot: my-test-snapshot - synopsis: Get information about a snapshot. path: /_snapshot/{repository}/{snapshot} method: GET @@ -113,6 +89,12 @@ chapters: payload: snapshots: - snapshot: my-test-snapshot + - synopsis: Delete a snapshot. + path: /_snapshot/{repository}/{snapshot} + method: DELETE + parameters: + repository: my-fs-repository + snapshot: my-test-snapshot - synopsis: Delete a snapshot repository. path: /_snapshot/{repository} method: DELETE diff --git a/tests/snapshot/snapshot/status.yaml b/tests/snapshot/snapshot/status.yaml index af00860d..89e437c0 100644 --- a/tests/snapshot/snapshot/status.yaml +++ b/tests/snapshot/snapshot/status.yaml @@ -15,7 +15,7 @@ epilogues: repository: my-fs-repository prologues: - path: /_snapshot/{repository} - method: PUT + method: POST parameters: repository: my-fs-repository request: