Skip to content

Fix CsvIT to check test capabilities#144465

Closed
craigtaverner wants to merge 1 commit intoelastic:mainfrom
craigtaverner:fix_csvit_release
Closed

Fix CsvIT to check test capabilities#144465
craigtaverner wants to merge 1 commit intoelastic:mainfrom
craigtaverner:fix_csvit_release

Conversation

@craigtaverner
Copy link
Copy Markdown
Contributor

So it turns out that CsvIT does not check test capabilities at all. The main consequence is in release tests, where all SNAPSHOT-only features result in test failure.

@craigtaverner craigtaverner added >test Issues or PRs that are addressing/adding tests Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) test-release Trigger CI checks against release build :Analytics/ES|QL AKA ESQL labels Mar 18, 2026
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-analytical-engine (Team:Analytics)

);
} else {
for (EsqlCapabilities.Cap c : EsqlCapabilities.Cap.values()) {
if (false == c.isEnabled()) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is above condition equivalent to what we have in enabledCapabilities?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It sure looks like it. I just moved this code from CsvTests, and must assume the reason they wrote a longer loop here was so that the error message would be clearer. But in reality I think this could be simplified. I did not attempt that just because my goal was to get CsvIT fixed asap.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good. Lets do that separately later.

@craigtaverner
Copy link
Copy Markdown
Contributor Author

Closing in favor of #144470 which includes this work and fixes other failing release tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) >test Issues or PRs that are addressing/adding tests test-release Trigger CI checks against release build v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants