Hi

Here is how my actor works

package com.learner.ahka.ruforever

import akka.actor.Status.Failure
import akka.actor.{Actor, ActorLogging, Props}
import akka.event.LoggingReceive
import akka.pattern.pipe

object Runner {
  def props(race: Race) = Props(classOf[Runner], race)
}

class Runner(race: Race) extends Actor with ActorLogging {

  import context.dispatcher

  @throws[Exception](classOf[Exception])
  override def postRestart(reason: Throwable): Unit = context.parent ! 
RestartRunner

  override def receive: Receive = LoggingReceive {
    case Start => {
      sender ! "OK"
      log.debug("running...")
      Thread.sleep(10)
      throw new RuntimeException("MarathonRunner is tired")
    }

    case StartWithFuture =>
      log.debug("I am starting to run")
      race.start pipeTo self

    case Failure(throwable) => throw throwable

    case Stop =>
      log.debug("stopping runner")
      context.stop(self)
  }
}


I want to test that an exception is thrown, so my test looks like  

import akka.actor.ActorSystem
import akka.testkit.{ImplicitSender, TestActorRef, TestKit}
import org.scalatest._

class RunnerSpec extends TestKit(ActorSystem("testSystem"))
with WordSpecLike
with MustMatchers
with ImplicitSender {
  "A Runner Actor" must {
    "return message to Sender" in {
      val runner = TestActorRef(new Runner(new Marathon), "testRunner")
      runner ! Start
      expectMsg("OK")
    }

    "must fail after running for a while" in {
      val runner = TestActorRef(new Runner(new Marathon))
        Thread.sleep(10)
        intercept[RuntimeException]{runner ! Start}
    }
  }
}

The test fails for  "must fail after running for a while". I also tried

within(20 millis) {
      val runner = TestActorRef(new Runner(new Marathon))
        Thread.sleep(10)
        intercept[RuntimeException]{runner ! Start}
}

and this did not work either. There are two interesting observations from 
the logs though


   1. The exception is actually thrown
   2. The actor gets restarted. The supervisionStrategy is in parent and 
   child doesn't know about it, then why does it gets restarted?

What is not right here?

Thank you

Log
[DEBUG] [06/02/2015 11:00:37.783] [ScalaTest-run] 
[EventStream(akka://testSystem)] logger log1-Logging$DefaultLogger started
[DEBUG] [06/02/2015 11:00:37.799] [ScalaTest-run] 
[EventStream(akka://testSystem)] Default Loggers started
[DEBUG] [06/02/2015 11:00:37.806] 
[testSystem-akka.actor.default-dispatcher-4] [akka://testSystem/system] now 
supervising Actor[akka://testSystem/system/deadLetterListener#959366574]
[DEBUG] [06/02/2015 11:00:37.808] 
[testSystem-akka.actor.default-dispatcher-3] 
[akka://testSystem/system/deadLetterListener] started 
(akka.event.DeadLetterListener@4456c305)
[DEBUG] [06/02/2015 11:00:37.830] 
[testSystem-akka.actor.default-dispatcher-4] 
[akka://testSystem/system/testActor1] started 
(akka.testkit.TestActor@7956e808)
[DEBUG] [06/02/2015 11:00:37.831] 
[testSystem-akka.actor.default-dispatcher-4] [akka://testSystem/system] now 
supervising Actor[akka://testSystem/system/testActor1#-500730560][DEBUG] 
[06/02/2015 11:00:38.263] [testSystem-akka.actor.default-dispatcher-3] 
[akka://testSystem/user] now supervising 
TestActor[akka://testSystem/user/testRunner]
[DEBUG] [06/02/2015 11:00:38.267] [ScalaTest-run-running-RunnerSpec] 
[akka://testSystem/user/testRunner] started 
(com.learner.ahka.ruforever.Runner@2657d4dd)
[DEBUG] [06/02/2015 11:00:38.269] [ScalaTest-run-running-RunnerSpec] 
[akka://testSystem/user/testRunner] received handled message Start
[DEBUG] [06/02/2015 11:00:38.274] [ScalaTest-run-running-RunnerSpec] 
[akka://testSystem/user/testRunner] running...
[ERROR] [06/02/2015 11:00:38.290] 
[testSystem-akka.actor.default-dispatcher-4] 
[akka://testSystem/user/testRunner] MarathonRunner is tired
*java.lang.RuntimeException: MarathonRunner is tired*
at 
com.learner.ahka.ruforever.Runner$$anonfun$receive$1.applyOrElse(Runner.scala:24)
at 
scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:36)
at akka.event.LoggingReceive.apply(LoggingReceive.scala:62)
at akka.event.LoggingReceive.apply(LoggingReceive.scala:50)
at scala.PartialFunction$class.applyOrElse(PartialFunction.scala:123)
at akka.event.LoggingReceive.applyOrElse(LoggingReceive.scala:50)
at akka.actor.Actor$class.aroundReceive(Actor.scala:467)
at com.learner.ahka.ruforever.Runner.aroundReceive(Runner.scala:12)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
at akka.actor.ActorCell.invoke(ActorCell.scala:487)
at 
akka.testkit.CallingThreadDispatcher.process$1(CallingThreadDispatcher.scala:251)
at 
akka.testkit.CallingThreadDispatcher.runQueue(CallingThreadDispatcher.scala:284)
at 
akka.testkit.CallingThreadDispatcher.dispatch(CallingThreadDispatcher.scala:208)
at akka.actor.dungeon.Dispatch$class.sendMessage(Dispatch.scala:123)
at akka.actor.ActorCell.sendMessage(ActorCell.scala:369)
at akka.actor.Cell$class.sendMessage(ActorCell.scala:290)
at akka.actor.ActorCell.sendMessage(ActorCell.scala:369)
at akka.actor.LocalActorRef.$bang(ActorRef.scala:384)
at 
com.learner.ahka.ruforever.RunnerSpec$$anonfun$1$$anonfun$apply$mcV$sp$1.apply$mcV$sp(RunnerSpec.scala:14)
at 
com.learner.ahka.ruforever.RunnerSpec$$anonfun$1$$anonfun$apply$mcV$sp$1.apply(RunnerSpec.scala:12)
at 
com.learner.ahka.ruforever.RunnerSpec$$anonfun$1$$anonfun$apply$mcV$sp$1.apply(RunnerSpec.scala:12)
at 
org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22)
at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.Transformer.apply(Transformer.scala:22)
at org.scalatest.Transformer.apply(Transformer.scala:20)
at org.scalatest.WordSpecLike$$anon$1.apply(WordSpecLike.scala:953)
at org.scalatest.Suite$class.withFixture(Suite.scala:1122)
at com.learner.ahka.ruforever.RunnerSpec.withFixture(RunnerSpec.scala:7)
at 
org.scalatest.WordSpecLike$class.invokeWithFixture$1(WordSpecLike.scala:950)
at 
org.scalatest.WordSpecLike$$anonfun$runTest$1.apply(WordSpecLike.scala:962)
at 
org.scalatest.WordSpecLike$$anonfun$runTest$1.apply(WordSpecLike.scala:962)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.WordSpecLike$class.runTest(WordSpecLike.scala:962)
at com.learner.ahka.ruforever.RunnerSpec.runTest(RunnerSpec.scala:7)
at 
org.scalatest.WordSpecLike$$anonfun$runTests$1.apply(WordSpecLike.scala:1021)
at 
org.scalatest.WordSpecLike$$anonfun$runTests$1.apply(WordSpecLike.scala:1021)
at 
org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:413)
at 
org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:401)
at scala.collection.immutable.List.foreach(List.scala:381)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at 
org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:390)
at 
org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:427)
at 
org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:401)
at scala.collection.immutable.List.foreach(List.scala:381)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at 
org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:483)
at org.scalatest.WordSpecLike$class.runTests(WordSpecLike.scala:1021)
at com.learner.ahka.ruforever.RunnerSpec.runTests(RunnerSpec.scala:7)
at org.scalatest.Suite$class.run(Suite.scala:1424)
at 
com.learner.ahka.ruforever.RunnerSpec.org$scalatest$WordSpecLike$$super$run(RunnerSpec.scala:7)
at org.scalatest.WordSpecLike$$anonfun$run$1.apply(WordSpecLike.scala:1067)
at org.scalatest.WordSpecLike$$anonfun$run$1.apply(WordSpecLike.scala:1067)
at org.scalatest.SuperEngine.runImpl(Engine.scala:545)
at org.scalatest.WordSpecLike$class.run(WordSpecLike.scala:1067)
at com.learner.ahka.ruforever.RunnerSpec.run(RunnerSpec.scala:7)
at org.scalatest.tools.SuiteRunner.run(SuiteRunner.scala:55)
at 
org.scalatest.tools.Runner$$anonfun$doRunRunRunDaDoRunRun$3.apply(Runner.scala:2563)
at 
org.scalatest.tools.Runner$$anonfun$doRunRunRunDaDoRunRun$3.apply(Runner.scala:2557)
at scala.collection.immutable.List.foreach(List.scala:381)
at org.scalatest.tools.Runner$.doRunRunRunDaDoRunRun(Runner.scala:2557)
at 
org.scalatest.tools.Runner$$anonfun$runOptionallyWithPassFailReporter$2.apply(Runner.scala:1044)
at 
org.scalatest.tools.Runner$$anonfun$runOptionallyWithPassFailReporter$2.apply(Runner.scala:1043)
at 
org.scalatest.tools.Runner$.withClassLoaderAndDispatchReporter(Runner.scala:2722)
at 
org.scalatest.tools.Runner$.runOptionallyWithPassFailReporter(Runner.scala:1043)
at org.scalatest.tools.Runner$.run(Runner.scala:883)
at org.scalatest.tools.Runner.run(Runner.scala)
at 
org.jetbrains.plugins.scala.testingSupport.scalaTest.ScalaTestRunner.runScalaTest2(ScalaTestRunner.java:138)
at 
org.jetbrains.plugins.scala.testingSupport.scalaTest.ScalaTestRunner.main(ScalaTestRunner.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)

[DEBUG] [06/02/2015 11:00:38.291] 
[testSystem-akka.actor.default-dispatcher-4] 
[akka://testSystem/user/testRunner] *restarting*
[DEBUG] [06/02/2015 11:00:38.294] 
[testSystem-akka.actor.default-dispatcher-4] 
[akka://testSystem/user/testRunner] *restarted*
[DEBUG] [06/02/2015 11:00:38.312] [ScalaTest-run-running-RunnerSpec] 
[akka://testSystem/user/$$a] received handled message Start
[DEBUG] [06/02/2015 11:00:38.312] [ScalaTest-run-running-RunnerSpec] 
[akka://testSystem/user/$$a] running...
[ERROR] [06/02/2015 11:00:38.323] 
[testSystem-akka.actor.default-dispatcher-4] [akka://testSystem/user/$$a] 
MarathonRunner is tired
java.lang.RuntimeException: MarathonRunner is tired
at 
com.learner.ahka.ruforever.Runner$$anonfun$receive$1.applyOrElse(Runner.scala:24)
at 
scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:36)
at akka.event.LoggingReceive.apply(LoggingReceive.scala:62)
at akka.event.LoggingReceive.apply(LoggingReceive.scala:50)
at scala.PartialFunction$class.applyOrElse(PartialFunction.scala:123)
at akka.event.LoggingReceive.applyOrElse(LoggingReceive.scala:50)
at akka.actor.Actor$class.aroundReceive(Actor.scala:467)
at com.learner.ahka.ruforever.Runner.aroundReceive(Runner.scala:12)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
at akka.actor.ActorCell.invoke(ActorCell.scala:487)
at 
akka.testkit.CallingThreadDispatcher.process$1(CallingThreadDispatcher.scala:251)
at 
akka.testkit.CallingThreadDispatcher.runQueue(CallingThreadDispatcher.scala:284)
at 
akka.testkit.CallingThreadDispatcher.dispatch(CallingThreadDispatcher.scala:208)
at akka.actor.dungeon.Dispatch$class.sendMessage(Dispatch.scala:123)
at akka.actor.ActorCell.sendMessage(ActorCell.scala:369)
at akka.actor.Cell$class.sendMessage(ActorCell.scala:290)
at akka.actor.ActorCell.sendMessage(ActorCell.scala:369)
at akka.actor.LocalActorRef.$bang(ActorRef.scala:384)
at 
com.learner.ahka.ruforever.RunnerSpec$$anonfun$1$$anonfun$apply$mcV$sp$2$$anonfun$apply$mcV$sp$3.apply$mcV$sp(RunnerSpec.scala:21)
at 
com.learner.ahka.ruforever.RunnerSpec$$anonfun$1$$anonfun$apply$mcV$sp$2$$anonfun$apply$mcV$sp$3.apply(RunnerSpec.scala:21)
at 
com.learner.ahka.ruforever.RunnerSpec$$anonfun$1$$anonfun$apply$mcV$sp$2$$anonfun$apply$mcV$sp$3.apply(RunnerSpec.scala:21)
at org.scalatest.Assertions$class.intercept(Assertions.scala:997)
at com.learner.ahka.ruforever.RunnerSpec.intercept(RunnerSpec.scala:7)
at 
com.learner.ahka.ruforever.RunnerSpec$$anonfun$1$$anonfun$apply$mcV$sp$2.apply$mcV$sp(RunnerSpec.scala:21)
at 
com.learner.ahka.ruforever.RunnerSpec$$anonfun$1$$anonfun$apply$mcV$sp$2.apply(RunnerSpec.scala:18)
at 
com.learner.ahka.ruforever.RunnerSpec$$anonfun$1$$anonfun$apply$mcV$sp$2.apply(RunnerSpec.scala:18)
at 
org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22)
at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.Transformer.apply(Transformer.scala:22)
at org.scalatest.Transformer.apply(Transformer.scala:20)
at org.scalatest.WordSpecLike$$anon$1.apply(WordSpecLike.scala:953)
at org.scalatest.Suite$class.withFixture(Suite.scala:1122)
at com.learner.ahka.ruforever.RunnerSpec.withFixture(RunnerSpec.scala:7)
at 
org.scalatest.WordSpecLike$class.invokeWithFixture$1(WordSpecLike.scala:950)
at 
org.scalatest.WordSpecLike$$anonfun$runTest$1.apply(WordSpecLike.scala:962)
at 
org.scalatest.WordSpecLike$$anonfun$runTest$1.apply(WordSpecLike.scala:962)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.WordSpecLike$class.runTest(WordSpecLike.scala:962)
at com.learner.ahka.ruforever.RunnerSpec.runTest(RunnerSpec.scala:7)
at 
org.scalatest.WordSpecLike$$anonfun$runTests$1.apply(WordSpecLike.scala:1021)
at 
org.scalatest.WordSpecLike$$anonfun$runTests$1.apply(WordSpecLike.scala:1021)
at 
org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:413)
at 
org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:401)
at scala.collection.immutable.List.foreach(List.scala:381)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at 
org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:390)
at 
org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:427)
at 
org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:401)
at scala.collection.immutable.List.foreach(List.scala:381)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at 
org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:483)
at org.scalatest.WordSpecLike$class.runTests(WordSpecLike.scala:1021)
at com.learner.ahka.ruforever.RunnerSpec.runTests(RunnerSpec.scala:7)
at org.scalatest.Suite$class.run(Suite.scala:1424)
at 
com.learner.ahka.ruforever.RunnerSpec.org$scalatest$WordSpecLike$$super$run(RunnerSpec.scala:7)
at org.scalatest.WordSpecLike$$anonfun$run$1.apply(WordSpecLike.scala:1067)
at org.scalatest.WordSpecLike$$anonfun$run$1.apply(WordSpecLike.scala:1067)
at org.scalatest.SuperEngine.runImpl(Engine.scala:545)
at org.scalatest.WordSpecLike$class.run(WordSpecLike.scala:1067)
at com.learner.ahka.ruforever.RunnerSpec.run(RunnerSpec.scala:7)
at org.scalatest.tools.SuiteRunner.run(SuiteRunner.scala:55)
at 
org.scalatest.tools.Runner$$anonfun$doRunRunRunDaDoRunRun$3.apply(Runner.scala:2563)
at 
org.scalatest.tools.Runner$$anonfun$doRunRunRunDaDoRunRun$3.apply(Runner.scala:2557)
at scala.collection.immutable.List.foreach(List.scala:381)
at org.scalatest.tools.Runner$.doRunRunRunDaDoRunRun(Runner.scala:2557)
at 
org.scalatest.tools.Runner$$anonfun$runOptionallyWithPassFailReporter$2.apply(Runner.scala:1044)
at 
org.scalatest.tools.Runner$$anonfun$runOptionallyWithPassFailReporter$2.apply(Runner.scala:1043)
at 
org.scalatest.tools.Runner$.withClassLoaderAndDispatchReporter(Runner.scala:2722)
at 
org.scalatest.tools.Runner$.runOptionallyWithPassFailReporter(Runner.scala:1043)
at org.scalatest.tools.Runner$.run(Runner.scala:883)
at org.scalatest.tools.Runner.run(Runner.scala)
at 
org.jetbrains.plugins.scala.testingSupport.scalaTest.ScalaTestRunner.runScalaTest2(ScalaTestRunner.java:138)
at 
org.jetbrains.plugins.scala.testingSupport.scalaTest.ScalaTestRunner.main(ScalaTestRunner.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)

[DEBUG] [06/02/2015 11:00:38.323] 
[testSystem-akka.actor.default-dispatcher-4] [akka://testSystem/user/$$a] 
*restarting*
[DEBUG] [06/02/2015 11:00:38.324] 
[testSystem-akka.actor.default-dispatcher-4] [akka://testSystem/user/$$a] 
*restarted*

*Expected exception java.lang.RuntimeException to be thrown, but no 
exception was thrown.*
ScalaTestFailureLocation: 
com.learner.ahka.ruforever.RunnerSpec$$anonfun$1$$anonfun$apply$mcV$sp$2 at 
(RunnerSpec.scala:21)
org.scalatest.exceptions.TestFailedException: Expected exception 
java.lang.RuntimeException to be thrown, but no exception was thrown.
at 
org.scalatest.Assertions$class.newAssertionFailedException(Assertions.scala:495)
at 
com.learner.ahka.ruforever.RunnerSpec.newAssertionFailedException(RunnerSpec.scala:7)
at org.scalatest.Assertions$class.intercept(Assertions.scala:1014)
at com.learner.ahka.ruforever.RunnerSpec.intercept(RunnerSpec.scala:7)
at 
com.learner.ahka.ruforever.RunnerSpec$$anonfun$1$$anonfun$apply$mcV$sp$2.apply$mcV$sp(RunnerSpec.scala:21)
at 
com.learner.ahka.ruforever.RunnerSpec$$anonfun$1$$anonfun$apply$mcV$sp$2.apply(RunnerSpec.scala:18)
at 
com.learner.ahka.ruforever.RunnerSpec$$anonfun$1$$anonfun$apply$mcV$sp$2.apply(RunnerSpec.scala:18)
at 
org.scalatest.Transformer$$anonfun$apply$1.apply$mcV$sp(Transformer.scala:22)
at org.scalatest.OutcomeOf$class.outcomeOf(OutcomeOf.scala:85)
at org.scalatest.OutcomeOf$.outcomeOf(OutcomeOf.scala:104)
at org.scalatest.Transformer.apply(Transformer.scala:22)
at org.scalatest.Transformer.apply(Transformer.scala:20)
at org.scalatest.WordSpecLike$$anon$1.apply(WordSpecLike.scala:953)
at org.scalatest.Suite$class.withFixture(Suite.scala:1122)
at com.learner.ahka.ruforever.RunnerSpec.withFixture(RunnerSpec.scala:7)
at 
org.scalatest.WordSpecLike$class.invokeWithFixture$1(WordSpecLike.scala:950)
at 
org.scalatest.WordSpecLike$$anonfun$runTest$1.apply(WordSpecLike.scala:962)
at 
org.scalatest.WordSpecLike$$anonfun$runTest$1.apply(WordSpecLike.scala:962)
at org.scalatest.SuperEngine.runTestImpl(Engine.scala:306)
at org.scalatest.WordSpecLike$class.runTest(WordSpecLike.scala:962)
at com.learner.ahka.ruforever.RunnerSpec.runTest(RunnerSpec.scala:7)
at 
org.scalatest.WordSpecLike$$anonfun$runTests$1.apply(WordSpecLike.scala:1021)
at 
org.scalatest.WordSpecLike$$anonfun$runTests$1.apply(WordSpecLike.scala:1021)
at 
org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:413)
at 
org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:401)
at scala.collection.immutable.List.foreach(List.scala:381)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at 
org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:390)
at 
org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:427)
at 
org.scalatest.SuperEngine$$anonfun$traverseSubNodes$1$1.apply(Engine.scala:401)
at scala.collection.immutable.List.foreach(List.scala:381)
at org.scalatest.SuperEngine.traverseSubNodes$1(Engine.scala:401)
at 
org.scalatest.SuperEngine.org$scalatest$SuperEngine$$runTestsInBranch(Engine.scala:396)
at org.scalatest.SuperEngine.runTestsImpl(Engine.scala:483)
at org.scalatest.WordSpecLike$class.runTests(WordSpecLike.scala:1021)
at com.learner.ahka.ruforever.RunnerSpec.runTests(RunnerSpec.scala:7)
at org.scalatest.Suite$class.run(Suite.scala:1424)
at 
com.learner.ahka.ruforever.RunnerSpec.org$scalatest$WordSpecLike$$super$run(RunnerSpec.scala:7)
at org.scalatest.WordSpecLike$$anonfun$run$1.apply(WordSpecLike.scala:1067)
at org.scalatest.WordSpecLike$$anonfun$run$1.apply(WordSpecLike.scala:1067)
at org.scalatest.SuperEngine.runImpl(Engine.scala:545)
at org.scalatest.WordSpecLike$class.run(WordSpecLike.scala:1067)
at com.learner.ahka.ruforever.RunnerSpec.run(RunnerSpec.scala:7)
at org.scalatest.tools.SuiteRunner.run(SuiteRunner.scala:55)
at 
org.scalatest.tools.Runner$$anonfun$doRunRunRunDaDoRunRun$3.apply(Runner.scala:2563)
at 
org.scalatest.tools.Runner$$anonfun$doRunRunRunDaDoRunRun$3.apply(Runner.scala:2557)
at scala.collection.immutable.List.foreach(List.scala:381)
at org.scalatest.tools.Runner$.doRunRunRunDaDoRunRun(Runner.scala:2557)
at 
org.scalatest.tools.Runner$$anonfun$runOptionallyWithPassFailReporter$2.apply(Runner.scala:1044)
at 
org.scalatest.tools.Runner$$anonfun$runOptionallyWithPassFailReporter$2.apply(Runner.scala:1043)
at 
org.scalatest.tools.Runner$.withClassLoaderAndDispatchReporter(Runner.scala:2722)
at 
org.scalatest.tools.Runner$.runOptionallyWithPassFailReporter(Runner.scala:1043)
at org.scalatest.tools.Runner$.run(Runner.scala:883)
at org.scalatest.tools.Runner.run(Runner.scala)
at 
org.jetbrains.plugins.scala.testingSupport.scalaTest.ScalaTestRunner.runScalaTest2(ScalaTestRunner.java:138)
at 
org.jetbrains.plugins.scala.testingSupport.scalaTest.ScalaTestRunner.main(ScalaTestRunner.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)

[DEBUG] [06/02/2015 11:00:38.299] [ScalaTest-run-running-RunnerSpec] 
[akka://testSystem/user/$$a] started 
(com.learner.ahka.ruforever.Runner@23941fb4)
[DEBUG] [06/02/2015 11:00:38.299] 
[testSystem-akka.actor.default-dispatcher-4] [akka://testSystem/user] now 
supervising TestActor[akka://testSystem/user/$$a]

-- 
>>>>>>>>>>      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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
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