Skip to content

Commit

Permalink
Add tests for nodes
Browse files Browse the repository at this point in the history
Signed-off-by: Bzil <[email protected]>
  • Loading branch information
Bzil committed Jul 4, 2024
1 parent cbc0b08 commit 1de9c4f
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions spec/schemas/nodes.info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ components:
- aggregations
- indices
- search_pipelines
- _all
ResponseBase:
allOf:
- type: object
Expand Down
33 changes: 33 additions & 0 deletions tests/_core/nodes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,36 @@ chapters:
method: GET
response:
status: 200
- synopsis: Nodes thread_pool metric with a json response.
path: /_nodes/{metric}
method: GET
parameters:
metric:
- thread_pool
response:
status: 200
- synopsis: Nodes jvm and thread_pool metric with a json response.
path: /_nodes/{metric}
method: GET
parameters:
metric:
- jvm
- thread_pool
response:
status: 200
- synopsis: Nodes _all metric with a json response.
path: /_nodes/{metric}
method: GET
parameters:
metric:
- _all
response:
status: 200
- synopsis: Nodes data:true metric with a json response.
path: /_nodes/{metric}
method: GET
parameters:
metric:
- master:true
response:
status: 200

0 comments on commit 1de9c4f

Please sign in to comment.