parent
5f38eb297f
commit
46bae17854
1 changed files with 1 additions and 1 deletions
|
|
@ -255,7 +255,7 @@ final class ActorTestKit private[akka] (
|
||||||
try {
|
try {
|
||||||
Await.result(internalTestKitGuardian.ask { (x: ActorRef[ActorTestKitGuardian.Ack.type]) =>
|
Await.result(internalTestKitGuardian.ask { (x: ActorRef[ActorTestKitGuardian.Ack.type]) =>
|
||||||
ActorTestKitGuardian.StopActor(ref, x)
|
ActorTestKitGuardian.StopActor(ref, x)
|
||||||
}, max)
|
}(Timeout(max), scheduler), max)
|
||||||
} catch {
|
} catch {
|
||||||
case _: TimeoutException =>
|
case _: TimeoutException =>
|
||||||
assert(false, s"timeout ($max) during stop() waiting for actor [${ref.path}] to stop")
|
assert(false, s"timeout ($max) during stop() waiting for actor [${ref.path}] to stop")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue