Skip to content

Commit 0d78f2b

Browse files
colings86jasontedor
authored andcommitted
Fixes test after replicas removal
1 parent b3ccf6d commit 0d78f2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/indexlifecycle/TimeseriesLifecycleTypeTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public void testValidateHotPhase() {
6060
Map<String, LifecycleAction> actions = VALID_HOT_ACTIONS
6161
.stream().map(this::getTestAction).collect(Collectors.toMap(LifecycleAction::getWriteableName, Function.identity()));
6262
if (randomBoolean()) {
63-
invalidAction = getTestAction(randomFrom("allocate", "forcemerge", "delete", "replicas", "shrink"));
63+
invalidAction = getTestAction(randomFrom("allocate", "forcemerge", "delete", "shrink"));
6464
actions.put(invalidAction.getWriteableName(), invalidAction);
6565
}
6666
Map<String, Phase> hotPhase = Collections.singletonMap("hot",
@@ -123,7 +123,7 @@ public void testValidateDeletePhase() {
123123
Map<String, LifecycleAction> actions = VALID_DELETE_ACTIONS
124124
.stream().map(this::getTestAction).collect(Collectors.toMap(LifecycleAction::getWriteableName, Function.identity()));
125125
if (randomBoolean()) {
126-
invalidAction = getTestAction(randomFrom("allocate", "rollover", "replicas", "forcemerge", "shrink"));
126+
invalidAction = getTestAction(randomFrom("allocate", "rollover", "forcemerge", "shrink"));
127127
actions.put(invalidAction.getWriteableName(), invalidAction);
128128
}
129129
Map<String, Phase> deletePhase = Collections.singletonMap("delete",

0 commit comments

Comments
 (0)