YAML test framework: simplify version node_selector#103954
YAML test framework: simplify version node_selector#103954ldematte merged 9 commits intoelastic:mainfrom
Conversation
|
This makes sense to me @ldematte 👍 But please gather some more opinions :) |
|
Naming is hard :) |
|
Pinging @elastic/es-core-infra (Team:Core/Infra) |
|
Is this only for mixed cluster tests, @ldematte? Initially I was struggling to bridge the gap between |
|
AFAIK, it has a meaning only in mixed cluster and rolling upgrade tests. I like the change to |
williamrandolph
left a comment
There was a problem hiding this comment.
Just one question, but LGTM otherwise.
.../yaml-rest-runner/src/test/java/org/elasticsearch/test/rest/yaml/section/DoSectionTests.java
Show resolved
Hide resolved
|
I had to re-introduce the version matching for restCompat tests. Those test are a bit peculiar: they checkout |
|
Serverless tests fail for an unrelated, known issue: https://github.com/elastic/elasticsearch-serverless/issues/1461 |
Remove ranges and allow just
current/original.Node selectors with version ranges are used today just for mixed cluster/rolling upgrade tests, to filter out (or select) the new upgraded nodes that exhibit a change behaviour.
Therefore it is not needed to specify explicitly a version range: selecting nodes that have been upgraded (
current) or not (original) is sufficient.Today just
currentexists; this PR addsoriginal(with one example usage) and removes the ability to select nodes based on version.(Follows #103889, where we removed all version-based
node_selectors but this one)