fix PolicyStatsTests: mutate kept same indicesManaged
This commit is contained in:
parent
f6ce935444
commit
4c4afef9cc
|
@ -41,7 +41,7 @@ public class PolicyStatsTests extends AbstractWireSerializingTestCase<PolicyStat
|
||||||
phaseStats.put(randomAlphaOfLengthBetween(21, 25), PhaseStatsTests.createRandomInstance());
|
phaseStats.put(randomAlphaOfLengthBetween(21, 25), PhaseStatsTests.createRandomInstance());
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
indicesManaged = randomIntBetween(11, 50);
|
indicesManaged += randomIntBetween(1, 10);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
throw new AssertionError("Illegal randomisation branch");
|
throw new AssertionError("Illegal randomisation branch");
|
||||||
|
|
Loading…
Reference in New Issue