mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-09 06:25:07 +00:00
Separate autoscaling REST test cases
A couple of the autoscaling REST tests combine multiple tests into a single REST test. This commit separates them in to single tests.
This commit is contained in:
parent
d5a195ab3d
commit
2a94672c32
@ -16,6 +16,8 @@
|
|||||||
|
|
||||||
# TODO: add validation that the policy is removed after we have a get policy API
|
# TODO: add validation that the policy is removed after we have a get policy API
|
||||||
|
|
||||||
|
---
|
||||||
|
"Test delete non-existent policy":
|
||||||
- do:
|
- do:
|
||||||
catch: bad_request
|
catch: bad_request
|
||||||
autoscaling.delete_autoscaling_policy:
|
autoscaling.delete_autoscaling_policy:
|
||||||
|
@ -10,6 +10,8 @@
|
|||||||
|
|
||||||
- match: { "acknowledged": true }
|
- match: { "acknowledged": true }
|
||||||
|
|
||||||
|
---
|
||||||
|
"Test put autoscaling policy with non-existent decider":
|
||||||
- do:
|
- do:
|
||||||
catch: bad_request
|
catch: bad_request
|
||||||
autoscaling.put_autoscaling_policy:
|
autoscaling.put_autoscaling_policy:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user