Class IndexShardTestUtils
java.lang.Object
org.opensearch.index.shard.IndexShardTestUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.opensearch.cluster.node.DiscoveryNodestatic org.opensearch.cluster.node.DiscoveryNodesgetFakeDiscoveryNodes(List<org.opensearch.cluster.routing.ShardRouting> shardRoutings) static org.opensearch.cluster.node.DiscoveryNodesgetFakeDiscoveryNodes(org.opensearch.cluster.routing.ShardRouting shardRouting) static org.opensearch.cluster.node.DiscoveryNodesgetFakeRemoteEnabledDiscoveryNodes(List<org.opensearch.cluster.routing.ShardRouting> shardRoutings) static org.opensearch.cluster.node.DiscoveryNode
-
Field Details
-
MOCK_STATE_REPO_NAME
- See Also:
-
MOCK_SEGMENT_REPO_NAME
- See Also:
-
MOCK_TLOG_REPO_NAME
- See Also:
-
-
Constructor Details
-
IndexShardTestUtils
public IndexShardTestUtils()
-
-
Method Details
-
getFakeDiscoNode
-
getFakeRemoteEnabledNode
-
getFakeDiscoveryNodes
public static org.opensearch.cluster.node.DiscoveryNodes getFakeDiscoveryNodes(List<org.opensearch.cluster.routing.ShardRouting> shardRoutings) -
getFakeRemoteEnabledDiscoveryNodes
public static org.opensearch.cluster.node.DiscoveryNodes getFakeRemoteEnabledDiscoveryNodes(List<org.opensearch.cluster.routing.ShardRouting> shardRoutings) -
getFakeDiscoveryNodes
public static org.opensearch.cluster.node.DiscoveryNodes getFakeDiscoveryNodes(org.opensearch.cluster.routing.ShardRouting shardRouting)
-