Package org.elasticsearch.test.disruption
package org.elasticsearch.test.disruption
-
ClassDescriptionResponse type from
DisruptableMockTransport.getConnectionStatus(DiscoveryNode)
indicating whether, and how, messages should be disrupted on this transport.When simulating sending requests to another node which might have rebooted, it's not realistic just to drop the action if the node reboots; instead we need to simulate the error response that comes back.Simulates irregular long gc intervals.Suspends all threads on the specified node in order to simulate a long gc.Network disruptions are modeled using two components: 1) theNetworkDisruption.DisruptedLinks
represents the links in the network that are to be disrupted 2) theNetworkDisruption.NetworkLinkDisruptionType
represents the failure mode that is to be applied to the linksCreates two partitions with symmetric failures and a bridge node that can connect to both of the partitionsRepresents a set of nodes with connections between nodes that are to be disruptedSimulates slow or congested network.Abstract class representing various types of network disruptions.Creates two partitions with symmetric failures