From 1ca9544da683c9d12e5ed398bb417c5b067b0260 Mon Sep 17 00:00:00 2001 From: Martijn van Groningen Date: Fri, 8 Mar 2019 10:53:20 +0100 Subject: [PATCH] reduce the number of indices to be auto followed Relates to #36761 --- .../test/java/org/elasticsearch/xpack/ccr/AutoFollowIT.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }