Skip to content

Commit

Permalink
Added remaining version tags.
Browse files Browse the repository at this point in the history
Signed-off-by: dblock <[email protected]>
  • Loading branch information
dblock committed Jul 11, 2024
1 parent c1acefd commit 4f3f81d
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 10 deletions.
11 changes: 7 additions & 4 deletions tests/indices/clone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ epilogues:
- path: /movies
method: DELETE
status: [200, 404]
- path: /games
- path: /games1
method: DELETE
status: [200, 404]
- path: /games2
method: DELETE
status: [200, 404]
chapters:
Expand All @@ -26,7 +29,7 @@ chapters:
method: POST
parameters:
index: movies
target: games
target: games1
wait_for_active_shards: 1
cluster_manager_timeout: 10s
timeout: 10s
Expand All @@ -35,14 +38,14 @@ chapters:
payload:
shards_acknowledged: true
acknowledged: true
index: games
index: games1
- synopsis: Clone an index (wait_for_completion).
version: '>= 2.7'
path: /{index}/_clone/{target}
method: POST
parameters:
index: movies
target: games
target: games2
wait_for_completion: true
response:
status: 200
9 changes: 6 additions & 3 deletions tests/indices/shrink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ epilogues:
- path: /movies2
method: DELETE
status: [200, 404]
- path: /movies3
method: DELETE
status: [200, 404]
chapters:
- synopsis: Block writes to the source index.
path: /{index}/_settings
Expand Down Expand Up @@ -49,7 +52,7 @@ chapters:
method: POST
parameters:
index: movies
target: movies1
target: movies2
wait_for_completion: true
response:
status: 200
Expand All @@ -58,7 +61,7 @@ chapters:
method: PUT
parameters:
index: movies
target: movies2
target: movies3
wait_for_active_shards: 1
cluster_manager_timeout: 10s
timeout: 10s
Expand All @@ -67,4 +70,4 @@ chapters:
payload:
shards_acknowledged: true
acknowledged: true
index: movies2
index: movies3
9 changes: 6 additions & 3 deletions tests/indices/split.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ epilogues:
- path: /movies2
method: DELETE
status: [200, 404]
- path: /movies3
method: DELETE
status: [200, 404]
chapters:
- synopsis: Block writes to the source index.
path: /{index}/_settings
Expand Down Expand Up @@ -54,7 +57,7 @@ chapters:
method: POST
parameters:
index: movies
target: movies1
target: movies2
wait_for_completion: true
request_body:
payload:
Expand All @@ -68,7 +71,7 @@ chapters:
method: PUT
parameters:
index: movies
target: movies2
target: movies3
wait_for_active_shards: 1
cluster_manager_timeout: 10s
timeout: 10s
Expand All @@ -82,4 +85,4 @@ chapters:
payload:
shards_acknowledged: true
acknowledged: true
index: movies2
index: movies3
1 change: 1 addition & 0 deletions tests/ingest/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ epilogues:
- path: /_ingest/pipeline/books_pipeline
method: DELETE
status: [200, 404]
version: '>= 2.11'
chapters:
- synopsis: Create ingest pipeline for text embedding.
path: /_ingest/pipeline/{id}
Expand Down
1 change: 1 addition & 0 deletions tests/ml/model_groups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ $schema: ../../json_schemas/test_story.schema.yaml

description: |
Test the creation of model groups.
version: '>= 2.11'
epilogues:
- path: /_plugins/_ml/model_groups/{model_group_id}
method: DELETE
Expand Down

0 comments on commit 4f3f81d

Please sign in to comment.