-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Improve resolve/cluster yaml test #121315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Pinging @elastic/es-search-foundations (Team:Search Foundations) |
c8c6e9f to
60c63fc
Compare
|
buildkite test this |
| --- | ||
| "Resolve cluster with no index expression": | ||
| - requires: | ||
| cluster_features: ["gte_v8.18.0"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we use capabilities instead of direct version numbers? I'm still a bit confused in which case what is used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably a good follow-on ticket. I've not added any capabilities for the stuff we've been doing so far, but also not sure the yaml tests support capability based checks. This is the standard way to do it for yaml tests (see higher up in the yaml doc for the 8.13 restrictions).
Updated indices.resolve_cluster.json to match new resolve/cluster spec. Added new test for the no-index-expression endpoint. Adjust syntax in 10_basic_resolve_cluster.yml syntax fix so that the elasticsearch-specification validation tests pass.
💚 Backport successful
|
Updated indices.resolve_cluster.json to match new resolve/cluster spec. Added new test for the no-index-expression endpoint. Adjust syntax in 10_basic_resolve_cluster.yml syntax fix so that the elasticsearch-specification validation tests pass.
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
Updated indices.resolve_cluster.json to match new resolve/cluster spec. Added new test for the no-index-expression endpoint. Adjust syntax in 10_basic_resolve_cluster.yml syntax fix so that the elasticsearch-specification validation tests pass. (cherry picked from commit 3fafb5f)
Updated indices.resolve_cluster.json to match new resolve/cluster spec. Added new test for the no-index-expression endpoint. Adjust syntax in 10_basic_resolve_cluster.yml syntax fix so that the elasticsearch-specification validation tests pass. (cherry picked from commit 3fafb5f) Co-authored-by: Michael Peterson <[email protected]>
Updated indices.resolve_cluster.json to match new resolve/cluster spec. Added new test for the no-index-expression endpoint. Adjust syntax in 10_basic_resolve_cluster.yml syntax fix so that the elasticsearch-specification validation tests pass. (cherry picked from commit 3fafb5f) Co-authored-by: Michael Peterson <[email protected]>
Updated indices.resolve_cluster.json to match new resolve/cluster spec.
Added new test for the no-index-expression endpoint.
Adjust syntax in 10_basic_resolve_cluster.yml syntax fix so that the elasticsearch-specification validation tests pass.