Skip to content

Commit 4c4afef

Browse files
committed
fix PolicyStatsTests: mutate kept same indicesManaged
1 parent f6ce935 commit 4c4afef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ protected PolicyStats mutateInstance(PolicyStats instance) throws IOException {
4141
phaseStats.put(randomAlphaOfLengthBetween(21, 25), PhaseStatsTests.createRandomInstance());
4242
break;
4343
case 1:
44-
indicesManaged = randomIntBetween(11, 50);
44+
indicesManaged += randomIntBetween(1, 10);
4545
break;
4646
default:
4747
throw new AssertionError("Illegal randomisation branch");

0 commit comments

Comments
 (0)