Fixes test after replicas removal
This commit is contained in:
parent
0fe21136db
commit
2305cb8a6b
|
@ -60,7 +60,7 @@ public class TimeseriesLifecycleTypeTests extends ESTestCase {
|
|||
Map<String, LifecycleAction> actions = VALID_HOT_ACTIONS
|
||||
.stream().map(this::getTestAction).collect(Collectors.toMap(LifecycleAction::getWriteableName, Function.identity()));
|
||||
if (randomBoolean()) {
|
||||
invalidAction = getTestAction(randomFrom("allocate", "forcemerge", "delete", "replicas", "shrink"));
|
||||
invalidAction = getTestAction(randomFrom("allocate", "forcemerge", "delete", "shrink"));
|
||||
actions.put(invalidAction.getWriteableName(), invalidAction);
|
||||
}
|
||||
Map<String, Phase> hotPhase = Collections.singletonMap("hot",
|
||||
|
@ -123,7 +123,7 @@ public class TimeseriesLifecycleTypeTests extends ESTestCase {
|
|||
Map<String, LifecycleAction> actions = VALID_DELETE_ACTIONS
|
||||
.stream().map(this::getTestAction).collect(Collectors.toMap(LifecycleAction::getWriteableName, Function.identity()));
|
||||
if (randomBoolean()) {
|
||||
invalidAction = getTestAction(randomFrom("allocate", "rollover", "replicas", "forcemerge", "shrink"));
|
||||
invalidAction = getTestAction(randomFrom("allocate", "rollover", "forcemerge", "shrink"));
|
||||
actions.put(invalidAction.getWriteableName(), invalidAction);
|
||||
}
|
||||
Map<String, Phase> deletePhase = Collections.singletonMap("delete",
|
||||
|
|
Loading…
Reference in New Issue