mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
[REST_API_SPEC] remove invalid use of catch: param
`catch: param` is designed to catch errors generated by client-side validation logic when users don't supply valid parameters to an API request. This test though is testing the server-side validation of pipeline aggregations, and so a "param" catch is invalid. Instead we will just test for a parse_exception error type using a regex.
This commit is contained in:
parent
a1bc82eef3
commit
3f80feb899
@ -36,7 +36,7 @@
|
||||
---
|
||||
"Test invalid config":
|
||||
- do:
|
||||
catch: param
|
||||
catch: /parse_exception/
|
||||
ingest.put_pipeline:
|
||||
id: "my_pipeline"
|
||||
body: >
|
||||
|
Loading…
x
Reference in New Issue
Block a user