Skip to content

[TEST] Handle ignore_above in KeywordFieldBlockLoaderTests#119800

Merged
elasticsearchmachine merged 2 commits intoelastic:mainfrom
lkts:keyword_block_loader_test_fix
Jan 8, 2025
Merged

[TEST] Handle ignore_above in KeywordFieldBlockLoaderTests#119800
elasticsearchmachine merged 2 commits intoelastic:mainfrom
lkts:keyword_block_loader_test_fix

Conversation

@lkts
Copy link
Copy Markdown
Contributor

@lkts lkts commented Jan 8, 2025

This is a follow-up to #119415 with #119416 landing previously.

@lkts lkts added >test Issues or PRs that are addressing/adding tests :StorageEngine/Mapping The storage related side of mappings auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) labels Jan 8, 2025
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

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


if (ESTestCase.randomDouble() <= 0.2) {
injected.put("ignore_above", ESTestCase.randomIntBetween(1, 10000));
injected.put("ignore_above", ESTestCase.randomIntBetween(1, 100));
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.

We don't ever generate such long strings so large values act as a "skip" in a lot of tests.

@lkts lkts changed the title Handle ignore_above in KeywordFieldBlockLoaderTests [TEST] Handle ignore_above in KeywordFieldBlockLoaderTests Jan 8, 2025
@elasticsearchmachine elasticsearchmachine merged commit cf11cc0 into elastic:main Jan 8, 2025
@lkts lkts deleted the keyword_block_loader_test_fix branch January 8, 2025 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :StorageEngine/Mapping The storage related side of mappings Team:StorageEngine >test Issues or PRs that are addressing/adding tests v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants