-
Couldn't load subscription status.
- Fork 25.6k
Closed
Labels
:Search Foundations/MappingIndex mappings, including merging and defining field typesIndex mappings, including merging and defining field types>testIssues or PRs that are addressing/adding testsIssues or PRs that are addressing/adding testsTeam:Search FoundationsMeta label for the Search Foundations team in ElasticsearchMeta label for the Search Foundations team in Elasticsearch
Description
The test class KeywordFieldMapperTests contains a switch statement with a branch that will never execute. The test uses a between(x, y) switch expression, but the 4 case is outside the randomised range. We need to fix this before #88739 can be merged. By "fix", I mean either remove the spurious case, or if we actually want it then extend the randomized range.
Metadata
Metadata
Assignees
Labels
:Search Foundations/MappingIndex mappings, including merging and defining field typesIndex mappings, including merging and defining field types>testIssues or PRs that are addressing/adding testsIssues or PRs that are addressing/adding testsTeam:Search FoundationsMeta label for the Search Foundations team in ElasticsearchMeta label for the Search Foundations team in Elasticsearch