Hi Iain, I think the problem could be in your code here:
deathReporter ! DeathReportActor.Watch(fated, self, Create(value)) context.system.stop(fated) Here I can see a race condition. In some cases *fated* actor can be stopped before *Watch* message in handled. So *DeathReportActor* never gets *Terminated* message. If I move context.system.stop(fated) to *DeathReportActor* after *watch* call context.watch(fated) context.system.stop(fated) then your test case passes. -- Martynas Mickevičius Typesafe <http://typesafe.com/> – Reactive<http://www.reactivemanifesto.org/> Apps on the JVM -- >>>>>>>>>> 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.
