-
Notifications
You must be signed in to change notification settings - Fork 25.3k
Add pattern_text feature flag to logsdb yaml tests #130399
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
Add pattern_text feature flag to logsdb yaml tests #130399
Conversation
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, but you're probably also going to want to add a cluster feature for patterned text, so that this doesn't fail bwc tests.
- requires: | ||
cluster_features: [ "mapper.patterned_text" ] | ||
reason: "patterned_text mappings are used in this test" |
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.
I think the setup:
block runs before each test in the file, so you don't need this here since you have the check in the setup
. But it also doesn't hurt anything to leave it.
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 I think you're correct. It's cleaner to remove it 👍
Pinging @elastic/es-storage-engine (Team:StorageEngine) |
...n/logsdb/src/yamlRestTest/resources/rest-api-spec/test/patternedtext/20_synthetic_source.yml
Show resolved
Hide resolved
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
Btw, you might want to backport this to the 9.1 branch |
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
Patterned text yaml tests in logsdb plugin are failing as they assume the presence of the pattern_text type. Enable the feature flag for the tests. (cherry picked from commit b38d545)
Patterned text yaml tests in logsdb plugin are failing as they assume the presence of the pattern_text type. Enable the feature flag for the tests.
Patterned text yaml tests in logsdb plugin are failing as they assume the presence of the pattern_text type. Enable the feature flag for the tests.
Fixes #130376 (comment)