Reducing sleep time for ActorPoolSpec for typed actors and removing defaultSupervisor from Props

This commit is contained in:
Viktor Klang 2011-11-08 12:30:46 +01:00
parent fd130d0310
commit 48dbfda255
2 changed files with 2 additions and 2 deletions

View file

@ -345,7 +345,7 @@ class ActorPoolSpec extends AkkaSpec {
def receive = _route
}, Props().withTimeout(10 seconds).withFaultHandler(faultHandler))
val results = for (i 1 to 20) yield (i, pool.sq(i, 100))
val results = for (i 1 to 20) yield (i, pool.sq(i, 10))
for ((i, r) results) {
val value = r.get

View file

@ -28,7 +28,7 @@ object Props {
case _ Escalate
}
final val defaultFaultHandler: FaultHandlingStrategy = OneForOneStrategy(defaultDecider, None, None)
final val defaultSupervisor: Option[ActorRef] = None
final val noHotSwap: Stack[Actor.Receive] = Stack.empty
final val randomAddress: String = ""