Skip to content

Conversation

@quux00
Copy link
Contributor

@quux00 quux00 commented Jan 30, 2025

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.

@quux00 quux00 added >test Issues or PRs that are addressing/adding tests auto-backport Automatically create backport pull requests when merged Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch :Search Foundations/CCS v9.0.0 v8.18.1 labels Jan 30, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search-foundations (Team:Search Foundations)

@quux00 quux00 force-pushed the fix/resolve-cluster-yaml branch from c8c6e9f to 60c63fc Compare January 30, 2025 19:42
@quux00 quux00 changed the title 10_basic_resolve_cluster.yml syntax fix Improve resolve/cluster yaml test Jan 30, 2025
@quux00
Copy link
Contributor Author

quux00 commented Jan 30, 2025

buildkite test this

---
"Resolve cluster with no index expression":
- requires:
cluster_features: ["gte_v8.18.0"]
Copy link
Contributor

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.

Copy link
Contributor Author

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).

@quux00 quux00 merged commit 3fafb5f into elastic:main Jan 31, 2025
17 checks passed
quux00 added a commit to quux00/elasticsearch that referenced this pull request Jan 31, 2025
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.
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.18

elasticsearchmachine pushed a commit that referenced this pull request Jan 31, 2025
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.
@pquentin
Copy link
Member

💚 All backports created successfully

Status Branch Result
8.x
9.0

Questions ?

Please refer to the Backport tool documentation

pquentin pushed a commit to pquentin/elasticsearch that referenced this pull request Feb 24, 2025
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)
elasticsearchmachine pushed a commit that referenced this pull request Feb 24, 2025
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]>
elasticsearchmachine pushed a commit that referenced this pull request Feb 24, 2025
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged :Search Foundations/CCS Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch >test Issues or PRs that are addressing/adding tests v8.18.1 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants