Skip to content

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

Conversation

parkertimmins
Copy link
Contributor

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)

@elasticsearchmachine elasticsearchmachine added v9.2.0 needs:triage Requires assignment of a team area label labels Jul 1, 2025
Copy link
Contributor

@jordan-powers jordan-powers left a 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.

Comment on lines 44 to 46
- requires:
cluster_features: [ "mapper.patterned_text" ]
reason: "patterned_text mappings are used in this test"
Copy link
Contributor

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.

Copy link
Contributor Author

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 👍

@parkertimmins parkertimmins added >non-issue :StorageEngine/Mapping The storage related side of mappings labels Jul 1, 2025
@elasticsearchmachine elasticsearchmachine added Team:StorageEngine and removed needs:triage Requires assignment of a team area label labels Jul 1, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-storage-engine (Team:StorageEngine)

Copy link
Member

@martijnvg martijnvg left a comment

Choose a reason for hiding this comment

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

LGTM

@parkertimmins parkertimmins merged commit b38d545 into elastic:main Jul 2, 2025
32 checks passed
@jordan-powers
Copy link
Contributor

Btw, you might want to backport this to the 9.1 branch

@parkertimmins
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
9.1

Questions ?

Please refer to the Backport tool documentation

parkertimmins added a commit to parkertimmins/elasticsearch that referenced this pull request Jul 2, 2025
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)
elasticsearchmachine pushed a commit that referenced this pull request Jul 2, 2025
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)
mridula-s109 pushed a commit to mridula-s109/elasticsearch that referenced this pull request Jul 3, 2025
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] LogsdbTestSuiteIT class failing
4 participants