|
@@ -138,7 +138,8 @@ public class TransportResizeActionTests extends ESTestCase {
|
|
new BalancedShardsAllocator(Settings.EMPTY),
|
|
new BalancedShardsAllocator(Settings.EMPTY),
|
|
EmptyClusterInfoService.INSTANCE,
|
|
EmptyClusterInfoService.INSTANCE,
|
|
EmptySnapshotsInfoService.INSTANCE,
|
|
EmptySnapshotsInfoService.INSTANCE,
|
|
- TestShardRoutingRoleStrategies.DEFAULT_ROLE_ONLY
|
|
|
|
|
|
+ TestShardRoutingRoleStrategies.DEFAULT_ROLE_ONLY,
|
|
|
|
+ System::nanoTime
|
|
);
|
|
);
|
|
|
|
|
|
RoutingTable routingTable = service.reroute(clusterState, "reroute", ActionListener.noop()).routingTable();
|
|
RoutingTable routingTable = service.reroute(clusterState, "reroute", ActionListener.noop()).routingTable();
|
|
@@ -168,7 +169,8 @@ public class TransportResizeActionTests extends ESTestCase {
|
|
new BalancedShardsAllocator(Settings.EMPTY),
|
|
new BalancedShardsAllocator(Settings.EMPTY),
|
|
EmptyClusterInfoService.INSTANCE,
|
|
EmptyClusterInfoService.INSTANCE,
|
|
EmptySnapshotsInfoService.INSTANCE,
|
|
EmptySnapshotsInfoService.INSTANCE,
|
|
- TestShardRoutingRoleStrategies.DEFAULT_ROLE_ONLY
|
|
|
|
|
|
+ TestShardRoutingRoleStrategies.DEFAULT_ROLE_ONLY,
|
|
|
|
+ System::nanoTime
|
|
);
|
|
);
|
|
|
|
|
|
RoutingTable routingTable = service.reroute(clusterState, "reroute", ActionListener.noop()).routingTable();
|
|
RoutingTable routingTable = service.reroute(clusterState, "reroute", ActionListener.noop()).routingTable();
|
|
@@ -211,7 +213,8 @@ public class TransportResizeActionTests extends ESTestCase {
|
|
new BalancedShardsAllocator(Settings.EMPTY),
|
|
new BalancedShardsAllocator(Settings.EMPTY),
|
|
EmptyClusterInfoService.INSTANCE,
|
|
EmptyClusterInfoService.INSTANCE,
|
|
EmptySnapshotsInfoService.INSTANCE,
|
|
EmptySnapshotsInfoService.INSTANCE,
|
|
- TestShardRoutingRoleStrategies.DEFAULT_ROLE_ONLY
|
|
|
|
|
|
+ TestShardRoutingRoleStrategies.DEFAULT_ROLE_ONLY,
|
|
|
|
+ System::nanoTime
|
|
);
|
|
);
|
|
|
|
|
|
RoutingTable routingTable = service.reroute(clusterState, "reroute", ActionListener.noop()).routingTable();
|
|
RoutingTable routingTable = service.reroute(clusterState, "reroute", ActionListener.noop()).routingTable();
|
|
@@ -259,7 +262,8 @@ public class TransportResizeActionTests extends ESTestCase {
|
|
new BalancedShardsAllocator(Settings.EMPTY),
|
|
new BalancedShardsAllocator(Settings.EMPTY),
|
|
EmptyClusterInfoService.INSTANCE,
|
|
EmptyClusterInfoService.INSTANCE,
|
|
EmptySnapshotsInfoService.INSTANCE,
|
|
EmptySnapshotsInfoService.INSTANCE,
|
|
- TestShardRoutingRoleStrategies.DEFAULT_ROLE_ONLY
|
|
|
|
|
|
+ TestShardRoutingRoleStrategies.DEFAULT_ROLE_ONLY,
|
|
|
|
+ System::nanoTime
|
|
);
|
|
);
|
|
|
|
|
|
RoutingTable routingTable = service.reroute(clusterState, "reroute", ActionListener.noop()).routingTable();
|
|
RoutingTable routingTable = service.reroute(clusterState, "reroute", ActionListener.noop()).routingTable();
|
|
@@ -324,7 +328,8 @@ public class TransportResizeActionTests extends ESTestCase {
|
|
new BalancedShardsAllocator(Settings.EMPTY),
|
|
new BalancedShardsAllocator(Settings.EMPTY),
|
|
EmptyClusterInfoService.INSTANCE,
|
|
EmptyClusterInfoService.INSTANCE,
|
|
EmptySnapshotsInfoService.INSTANCE,
|
|
EmptySnapshotsInfoService.INSTANCE,
|
|
- TestShardRoutingRoleStrategies.DEFAULT_ROLE_ONLY
|
|
|
|
|
|
+ TestShardRoutingRoleStrategies.DEFAULT_ROLE_ONLY,
|
|
|
|
+ System::nanoTime
|
|
);
|
|
);
|
|
|
|
|
|
RoutingTable routingTable = service.reroute(clusterState, "reroute", ActionListener.noop()).routingTable();
|
|
RoutingTable routingTable = service.reroute(clusterState, "reroute", ActionListener.noop()).routingTable();
|