Skip to content

Commit 387bdbd

Browse files
committed
Don't limit recoveries in RoutingTableTests
1 parent 24ab66c commit 387bdbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/test/java/org/elasticsearch/cluster/routing/RoutingTableTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ public class RoutingTableTests extends ESAllocationTestCase {
5050
private int totalNumberOfShards;
5151
private final static Settings DEFAULT_SETTINGS = Settings.builder().put(IndexMetaData.SETTING_VERSION_CREATED, Version.CURRENT).build();
5252
private final AllocationService ALLOCATION_SERVICE = createAllocationService(settingsBuilder()
53-
.put("cluster.routing.allocation.node_concurrent_recoveries", 10)
54-
.put("cluster.routing.allocation.node_initial_primaries_recoveries", 10)
53+
.put("cluster.routing.allocation.node_concurrent_recoveries", Integer.MAX_VALUE) // don't limit recoveries
54+
.put("cluster.routing.allocation.node_initial_primaries_recoveries", Integer.MAX_VALUE)
5555
.build());
5656
private ClusterState clusterState;
5757

0 commit comments

Comments
 (0)