Skip to content

Conversation

@martijnvg
Copy link
Member

The template that this test suite creates was never used during the test. This is because it uses default priority, and the builtin logs@template which also matches with the data stream name has a higher priority.

This change addresses this problem by setting the priority to 200 for the template that this test suite creates. Additionally, an extra check is added the verifying that the created template is actually used by the data stream that this test suite creates.

This change results in this test suite to fail if #133493 isn't applied.

The template that this test suite creates was never used during the test. This is because it uses default priority, and the builtin `logs@template` which also matches with the data stream name has a higher priority.

This change addresses this problem by setting the priority to 200 for the template that this test suite creates. Additionally, an extra check is added the verifying that the created template is actually used by the data stream that this test suite creates.

This change results in this test suite to fail if elastic#133493 isn't applied.
@martijnvg martijnvg requested review from Kubik42 and dnhatn August 26, 2025 15:15
@martijnvg martijnvg added >test Issues or PRs that are addressing/adding tests :StorageEngine/Mapping The storage related side of mappings labels Aug 26, 2025
@elasticsearchmachine
Copy link
Collaborator

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

Copy link
Member

@dnhatn dnhatn left a comment

Choose a reason for hiding this comment

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

👍 Thanks Martijn!

@martijnvg martijnvg enabled auto-merge (squash) August 26, 2025 15:58
Copy link
Contributor

@Kubik42 Kubik42 left a comment

Choose a reason for hiding this comment

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

looks good! thanks Martijn

@martijnvg martijnvg merged commit 3271c5a into elastic:main Aug 27, 2025
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:StorageEngine/Mapping The storage related side of mappings Team:StorageEngine >test Issues or PRs that are addressing/adding tests v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants