-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
ESQL: Rework integration-only csv testing #108313
ESQL: Rework integration-only csv testing #108313
Conversation
This reworks the integration-test-only csv testing for `metadata` to use the `required_feature:` syntax instead of the `-IT_tests_only` extension. This is a little more flexible and way nicer on the eyes.
Pinging @elastic/es-analytical-engine (Team:Analytics) |
*/ | ||
assumeTrue("Test " + testName + " is not enabled", isEnabled(testName, Version.CURRENT)); | ||
assumeFalse("metadata fields aren't supported", testCase.requiredFeatures.contains(EsqlFeatures.METADATA_FIELDS.id())); |
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.
Since we're introducing METADATA_FIELDS
now in 8.15, wouldn't the tests updated above no longer be run against 8.13 and 8.14 bwc runs? Is this intended?
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.
Yeah! Sorry, that's a sad side effect of dropping that version thingy - which we're supposed to be doing too. I figured I'd backport to 8.14 and ignore 8.13 because we're not likely to cut any more of those.
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.
Lgtm
💔 Backport failed
You can use sqren/backport to manually backport by running |
This reworks the integration-test-only csv testing for `metadata` to use the `required_feature:` syntax instead of the `-IT_tests_only` extension. This is a little more flexible and way nicer on the eyes.
Backport is #108326 |
This reworks the integration-test-only csv testing for
metadata
to use therequired_feature:
syntax instead of the-IT_tests_only
extension. This is a little more flexible and way nicer on the eyes.