From 387bdbd322a11ff0cd4a1345da7a906ad65832a5 Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Mon, 28 Dec 2015 21:36:34 +0100 Subject: [PATCH] Don't limit recoveries in RoutingTableTests --- .../org/elasticsearch/cluster/routing/RoutingTableTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/test/java/org/elasticsearch/cluster/routing/RoutingTableTests.java b/core/src/test/java/org/elasticsearch/cluster/routing/RoutingTableTests.java index fcdef700b98..713bf0aa311 100644 --- a/core/src/test/java/org/elasticsearch/cluster/routing/RoutingTableTests.java +++ b/core/src/test/java/org/elasticsearch/cluster/routing/RoutingTableTests.java @@ -50,8 +50,8 @@ public class RoutingTableTests extends ESAllocationTestCase { private int totalNumberOfShards; private final static Settings DEFAULT_SETTINGS = Settings.builder().put(IndexMetaData.SETTING_VERSION_CREATED, Version.CURRENT).build(); private final AllocationService ALLOCATION_SERVICE = createAllocationService(settingsBuilder() - .put("cluster.routing.allocation.node_concurrent_recoveries", 10) - .put("cluster.routing.allocation.node_initial_primaries_recoveries", 10) + .put("cluster.routing.allocation.node_concurrent_recoveries", Integer.MAX_VALUE) // don't limit recoveries + .put("cluster.routing.allocation.node_initial_primaries_recoveries", Integer.MAX_VALUE) .build()); private ClusterState clusterState;