Problem solved, I changed the way as I join nodes to cluster in my test:

"join to cluster" in within(15 seconds) {
  val node1Address = node(node1).address
  val node2Address = node(node2).address
  val node3Address = node(node3).address

  Cluster(system) join node1Address

  Cluster(system).subscribe(testActor, classOf[MemberUp])
  expectMsgClass(classOf[CurrentClusterState])
  receiveN(3).collect{case MemberUp(m) => m.address}.toSet should 
be(Set(node1Address, node2Address, node3Address))
  Cluster(system).unsubscribe(testActor)

  enterBarrier("after-1")
}


-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to