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

x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ilm/WaitForRolloverReadyStepTests.java
Set<Condition<?>> expectedConditions = new HashSet<>();
            if (step.getMaxSize() != null) {
                expectedConditions.add(new MaxSizeCondition(step.getMaxSize()));
            }
            if (step.getMaxPrimaryShardSize() != null) {
                expectedConditions.add(new MaxPrimaryShardSizeCondition(step.getMaxPrimaryShardSize()));
            }
            if (step.getMaxAge() != null) {
                expectedConditions.add(new MaxAgeCondition(step.getMaxAge()));
            }
            if (step.getMaxDocs() != null) {
                expectedConditions.add(new MaxDocsCondition(step.getMaxDocs()));
            }
            if (step.getMaxPrimaryShardDocs() != null) {
                expectedConditions.add(new MaxPrimaryShardDocsCondition(step.getMaxPrimaryShardDocs()));
            }
            assertRolloverIndexRequest(request, rolloverTarget, expectedConditions);
            Map<String, Boolean> conditionResults = expectedConditions.stream()
                .collect(Collectors.toMap(Condition::toString, condition -> true));
            listener.onResponse(new RolloverResponse(null, null, conditionResults, request.isDryRun(), false, false, false));
            return null;
        }).when(indicesClient).rolloverIndex(Mockito.any(), Mockito.any());
    }
    public void testEvaluateDoesntTriggerRolloverForIndexManuallyRolledOnLifecycleRolloverAlias() {
        String rolloverAlias = randomAlphaOfLength(5);
        IndexMetadata indexMetadata = IndexMetadata.builder(randomAlphaOfLength(10))
            .putAlias(AliasMetadata.builder(rolloverAlias))
            .settings(settings(Version.CURRENT).put(RolloverAction.LIFECYCLE_ROLLOVER_ALIAS, rolloverAlias))
            .putRolloverInfo(
                new RolloverInfo(