public void ClusterClient_should_communicate_to_any_node_in_cluster()
{
ClusterClient_should_startup_cluster();
Within(TimeSpan.FromSeconds(10), () =>
{
RunOn(() =>
{
var c = Sys.ActorOf(Client.ClusterClient.Props(ClusterClientSettings.Create(Sys).WithInitialContacts(InitialContacts)), "client1");
c.Tell(new Client.ClusterClient.Send("/user/testService", "hello", localAffinity: true));
ExpectMsg("hello-ack");
Sys.Stop(c);
}, _client);
RunOn(() =>
{
ExpectMsg("hello");
}, _fourth);
EnterBarrier("after-2");
});
}