Thank you ! Multi-Jvm Akka-Cluster tests are hard to understand.
Why there so many helper method join(...) copy'n'pasted ? def join(from: RoleName, to: RoleName): Unit = ... Le samedi 11 mars 2017 15:50:28 UTC+1, Patrik Nordwall a écrit : > > Here is a test that is testing exactly this and a few more things: > https://github.com/akka/akka/blob/master/akka-cluster-tools/src/multi-jvm/scala/akka/cluster/singleton/ClusterSingletonManagerSpec.scala#L398 > > You find example of multi-node testing in general in > https://www.lightbend.com/activator/template/akka-sample-multi-node-scala > > /Patrik > > On Sat, Mar 11, 2017 at 2:52 PM, Ronan Michaux <[email protected] > <javascript:>> wrote: > >> Hi, >> >> I'm trying to test a 2 JVM cluster with a singleton Actor on JVM1. >> >> I want to test that when JVM1 crash, a new Singleton is created on JVM2. >> >> I spend lot of time, but I fail to write this test. >> >> Where could I found an example of this kind of test ? >> >> Ronan. >> >> -- >> >>>>>>>>>> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at https://groups.google.com/group/akka-user. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > > Patrik Nordwall > Akka Tech Lead > Lightbend <http://www.lightbend.com/> - Reactive apps on the JVM > Twitter: @patriknw > > -- >>>>>>>>>> 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 https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
