Skip to content

Commit

Permalink
hotfix race condition
Browse files Browse the repository at this point in the history
Signed-off-by: Tokesh <[email protected]>
  • Loading branch information
Tokesh committed Dec 18, 2024
1 parent 1fc81d2 commit fa6c659
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 25 deletions.
30 changes: 6 additions & 24 deletions tests/snapshot/snapshot/snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/snapshot/snapshot/status.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ epilogues:
repository: my-fs-repository
prologues:
- path: /_snapshot/{repository}
method: PUT
method: POST
parameters:
repository: my-fs-repository
request:
Expand Down

0 comments on commit fa6c659

Please sign in to comment.