From 89b3bd52f73708b95c824c45e7fd3f03bd880c84 Mon Sep 17 00:00:00 2001 From: Patrik Nordwall Date: Wed, 13 May 2015 14:07:02 +0200 Subject: [PATCH] =typ #17460 fix message order in typed.ActorContextSpec * if the scheduled send happens before (in another thread) the send of Scheduled the expected order is violated --- akka-typed/src/test/scala/akka/typed/ActorContextSpec.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/akka-typed/src/test/scala/akka/typed/ActorContextSpec.scala b/akka-typed/src/test/scala/akka/typed/ActorContextSpec.scala index 0f1da2df93..8dea15af88 100644 --- a/akka-typed/src/test/scala/akka/typed/ActorContextSpec.scala +++ b/akka-typed/src/test/scala/akka/typed/ActorContextSpec.scala @@ -96,8 +96,8 @@ object ActorContextSpec { replyTo ! TimeoutSet Same case Schedule(delay, target, msg, replyTo) ⇒ - ctx.schedule(delay, target, msg) replyTo ! Scheduled + ctx.schedule(delay, target, msg) Same case Stop ⇒ Stopped case Kill(ref, replyTo) ⇒