Click or drag to resize
Akka.NETMultiNodeClusterSpecAssertLeaderIn Method
Assert that the cluster has elected the correct leader out of all nodes in the cluster. First member in the cluster ring is expected leader. Note that this can only be used for a cluster with all members in Up status, i.e. use `awaitMembersUp` before using this method. The reason for that is that the cluster leader is preferably a member with status Up or Leaving and that information can't be determined from the `RoleName`.

Namespace:  Akka.Cluster.TestKit
Assembly:  Akka.Cluster.TestKit (in Akka.Cluster.TestKit.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public void AssertLeaderIn(
	ImmutableList<RoleName> nodesInCluster
)

Parameters

nodesInCluster
Type: ImmutableListRoleName

[Missing <param name="nodesInCluster"/> documentation for "M:Akka.Cluster.TestKit.MultiNodeClusterSpec.AssertLeaderIn(System.Collections.Immutable.ImmutableList{Akka.Remote.TestKit.RoleName})"]

See Also