IndicesStatsAction is now a per node operation
This commit is contained in:
parent
03bb28514e
commit
86a8a0a570
|
@ -204,7 +204,7 @@ public class ClusterInfoServiceIT extends ESIntegTestCase {
|
||||||
MockTransportService mockTransportService = (MockTransportService) internalCluster().getInstance(TransportService.class, internalTestCluster.getMasterName());
|
MockTransportService mockTransportService = (MockTransportService) internalCluster().getInstance(TransportService.class, internalTestCluster.getMasterName());
|
||||||
|
|
||||||
final AtomicBoolean timeout = new AtomicBoolean(false);
|
final AtomicBoolean timeout = new AtomicBoolean(false);
|
||||||
final Set<String> blockedActions = ImmutableSet.of(NodesStatsAction.NAME, NodesStatsAction.NAME + "[n]", IndicesStatsAction.NAME, IndicesStatsAction.NAME + "[s]");
|
final Set<String> blockedActions = ImmutableSet.of(NodesStatsAction.NAME, NodesStatsAction.NAME + "[n]", IndicesStatsAction.NAME, IndicesStatsAction.NAME + "[n]");
|
||||||
// drop all outgoing stats requests to force a timeout.
|
// drop all outgoing stats requests to force a timeout.
|
||||||
for (DiscoveryNode node : internalTestCluster.clusterService().state().getNodes()) {
|
for (DiscoveryNode node : internalTestCluster.clusterService().state().getNodes()) {
|
||||||
mockTransportService.addDelegate(node, new MockTransportService.DelegateTransport(mockTransportService.original()) {
|
mockTransportService.addDelegate(node, new MockTransportService.DelegateTransport(mockTransportService.original()) {
|
||||||
|
|
Loading…
Reference in New Issue