We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55f4988 commit 7c5cd5fCopy full SHA for 7c5cd5f
x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/action/AutoFollowCoordinatorTests.java
@@ -1088,7 +1088,7 @@ public void testClosedIndicesAreNotAutoFollowed() {
1088
.build();
1089
1090
ClusterState remoteState = null;
1091
- final int nbLeaderIndices = randomInt(15);
+ final int nbLeaderIndices = randomIntBetween(1, 15);
1092
for (int i = 0; i < nbLeaderIndices; i++) {
1093
String indexName = "docs-" + i;
1094
if (remoteState == null) {
0 commit comments