Click or drag to resize
Akka.NETMultiNodeClusterSpecAssertLeader Method
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 AssertLeader(
	params RoleName[] nodesInCluster
)

Parameters

nodesInCluster
Type: Akka.Remote.TestKitRoleName

[Missing <param name="nodesInCluster"/> documentation for "M:Akka.Cluster.TestKit.MultiNodeClusterSpec.AssertLeader(Akka.Remote.TestKit.RoleName[])"]

See Also