make LoggingReceiveSpec more robust

This commit is contained in:
Roland 2012-02-18 22:32:41 +01:00
parent 0f48b9f3eb
commit b5826f9bd9
3 changed files with 38 additions and 36 deletions

View file

@ -135,7 +135,7 @@ class RoutingSpec extends AkkaSpec(RoutingSpec.config) with DefaultTimeout with
//#custom-strategy
}
val router = system.actorOf(Props.empty.withRouter(
RoundRobinRouter(1, supervisorStrategy = escalator)))
RoundRobinRouter(1, supervisorStrategy = escalator)))
//#supervision
router ! CurrentRoutees
EventFilter[ActorKilledException](occurrences = 2) intercept {