diff --git a/x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/AutoFollowIT.java b/x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/AutoFollowIT.java index 064274d9abd96..fc63e03620db2 100644 --- a/x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/AutoFollowIT.java +++ b/x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/AutoFollowIT.java @@ -131,7 +131,7 @@ public void testAutoFollowManyIndices() throws Exception { .build(); putAutoFollowPatterns("my-pattern", new String[] {"logs-*"}); - long numIndices = randomIntBetween(4, 32); + long numIndices = randomIntBetween(4, 16); for (int i = 0; i < numIndices; i++) { createLeaderIndex("logs-" + i, leaderIndexSettings); } @@ -168,7 +168,7 @@ public void testAutoFollowManyIndices() throws Exception { putAutoFollowPatterns("my-pattern", new String[] {"logs-*"}); long i = numIndices; - numIndices = numIndices + randomIntBetween(4, 32); + numIndices = numIndices + randomIntBetween(4, 16); for (; i < numIndices; i++) { createLeaderIndex("logs-" + i, leaderIndexSettings); }