Hello,

I have some test code that uses a SimpleRoutingApp.  After the tests are 
done it executes a system.shutdown on the ActorSystem implicitly passed to 
SimpleRoutingApp.

Often, things run just fine.  Sometimes after a test (scalatest) I run 
another one and get this error:

[JVM-1] *** RUN ABORTED ***
[JVM-1]   akka.pattern.AskTimeoutException: Ask timed out on 
[Actor[akka://test/user/IO-HTTP#132950960]] after [1000 ms]
[JVM-1]   at 
akka.pattern.PromiseActorRef$$anonfun$1.apply$mcV$sp(AskSupport.scala:333)
[JVM-1]   at akka.actor.Scheduler$$anon$7.run(Scheduler.scala:117)
[JVM-1]   at 
scala.concurrent.Future$InternalCallbackExecutor$.unbatchedExecute(Future.scala:599)
[JVM-1]   at 
scala.concurrent.BatchingExecutor$class.execute(BatchingExecutor.scala:109)
[JVM-1]   at 
scala.concurrent.Future$InternalCallbackExecutor$.execute(Future.scala:597)
[JVM-1]   at 
akka.actor.LightArrayRevolverScheduler$TaskHolder.executeTask(Scheduler.scala:467)
[JVM-1]   at 
akka.actor.LightArrayRevolverScheduler$$anon$8.executeBucket$1(Scheduler.scala:419)
[JVM-1]   at 
akka.actor.LightArrayRevolverScheduler$$anon$8.nextTick(Scheduler.scala:423)
[JVM-1]   at 
akka.actor.LightArrayRevolverScheduler$$anon$8.run(Scheduler.scala:375)
[JVM-1]   at java.lang.Thread.run(Thread.java:745)
[JVM-1]   ...

Looking through code I see that IO-HTTP is a Spray Actor.  
Am I not shutting down something correctly, or is there some system 
resource that has to be cleaned up before I run the next test?

-- 
>>>>>>>>>>      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.

Reply via email to