Skip to content

Commit

Permalink
adding async search tests for OS 3.0 version (#590)
Browse files Browse the repository at this point in the history
* fixing version in stats api specs

Signed-off-by: Tokesh <[email protected]>

* deleting versions constraints in async search tests and adding latest tag to ci for 3.0

Signed-off-by: Tokesh <[email protected]>

---------

Signed-off-by: Tokesh <[email protected]>
  • Loading branch information
Tokesh authored Sep 30, 2024
1 parent a92c492 commit ee98419
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
ref: '@sha256:4445e195c53992038891519dc3be0d273cdaad1b047943d68921168ed243e7e9'
- version: 3.0.0
hub: opensearchstaging
ref: '@sha256:cf07c0ffa7d9e8a3e7fdb58041caae3bb81f1123260431b99d0ebf4a52c3d9a3'
ref: '@sha256:727643acdfebed77bfdb26362dbcff536b7ea02a0cc4ae2da2521729171333de'

name: test-opensearch-spec (version=${{ matrix.entry.version }}, hub=${{ matrix.entry.hub || 'opensearchproject' }}, tests=${{ matrix.entry.tests || 'default' }})
runs-on: ubuntu-latest
Expand Down
5 changes: 1 addition & 4 deletions tests/default/asynchronous_search/search.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ chapters:
synopsis: Asynchronous Search.
path: /_plugins/_asynchronous_search
method: POST
version: < 3.0
parameters:
index: books
keep_on_completion: true
Expand All @@ -44,16 +43,14 @@ chapters:
- synopsis: Get partial response from asynchronous search.
path: /_plugins/_asynchronous_search/{id}
method: GET
version: < 3.0
parameters:
id: ${async_search.id}
response:
status: 200
- synopsis: Delete partial response from asynchronous search.
path: /_plugins/_asynchronous_search/{id}
method: DELETE
version: < 3.0
parameters:
id: ${async_search.id}
response:
status: 200
status: 200
1 change: 0 additions & 1 deletion tests/default/asynchronous_search/stats.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ chapters:
- synopsis: Get stats.
path: /_plugins/_asynchronous_search/stats
method: GET
version: < 3.0
response:
status: 200

0 comments on commit ee98419

Please sign in to comment.