Skip to content

ILM tests have switches with impossible branches #88743

@pugnascotia

Description

@pugnascotia

The following ILM tests all contain switch statements with branches that will never execute. The tests use a between(x, y) switch expression, but there are case values that are outside the randomised range. We need to fix these before #88739 can be merged. By "fix", I mean either remove the spurious cases, or if we actually want them, then extend the randomized range.

  • ActionConfigStatsTests
  • AllocateActionTests
  • CopyExecutionStateStepTests
  • RolloverActionTests
  • WaitForRolloverReadyStepTests

Metadata

Metadata

Assignees

Labels

:Data Management/ILM+SLMIndex and Snapshot lifecycle management>testIssues or PRs that are addressing/adding testsTeam:Data ManagementMeta label for data/management team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions