Don't limit recoveries in RoutingTableTests

This commit is contained in:
Simon Willnauer 2015-12-28 21:36:34 +01:00
parent 24ab66c694
commit 387bdbd322
1 changed files with 2 additions and 2 deletions

View File

@ -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;