|
class AkkaTestKitSpecs2Support(config: Option[Config] = None)(implicit executionEnv: ExecutionEnv = null) extends TestKitBase with After with ImplicitSender { |
Because this is a class and not a trait, the delayedInit function is called twice. In some cases this defeats the purpose of shutting down the actor system in after.
I think this is a class here to take advantage of a constructor parameter for the config object, so we'll need to figure out another way of handling that.
scala-test-utils/src/main/scala/com/dwolla/testutils/akka/AkkaTestKitSpecs2Support.scala
Line 11 in a54f08d
Because this is a
classand not atrait, thedelayedInitfunction is called twice. In some cases this defeats the purpose of shutting down the actor system inafter.I think this is a
classhere to take advantage of a constructor parameter for theconfigobject, so we'll need to figure out another way of handling that.