From 1e6665e30d96772eab92aca4d23e176adcd88dc5 Mon Sep 17 00:00:00 2001 From: Ivan Topolnak Date: Wed, 7 Aug 2013 11:25:08 -0300 Subject: upgraded to akka 2.2 --- .../scala/kamon/instrumentation/DispatcherInstrumentationSpec.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test/scala/kamon/instrumentation/DispatcherInstrumentationSpec.scala') diff --git a/src/test/scala/kamon/instrumentation/DispatcherInstrumentationSpec.scala b/src/test/scala/kamon/instrumentation/DispatcherInstrumentationSpec.scala index 7a14af6c..89ef61f3 100644 --- a/src/test/scala/kamon/instrumentation/DispatcherInstrumentationSpec.scala +++ b/src/test/scala/kamon/instrumentation/DispatcherInstrumentationSpec.scala @@ -13,7 +13,7 @@ class DispatcherInstrumentationSpec extends WordSpec with Matchers{ val x = Kamon.Metric.actorSystem("single-dispatcher").get.dispatchers (1 to 10).foreach(actor ! _) - val active = x.get("akka.actor.default-dispatcher").activeThreadCount.snapshot + val active = x.get("akka.actor.default-dispatcher").get.activeThreadCount.snapshot println("Active max: "+active.max) println("Active min: "+active.min) @@ -25,7 +25,7 @@ class DispatcherInstrumentationSpec extends WordSpec with Matchers{ val actorSystem = ActorSystem("single-dispatcher") val actor = actorSystem.actorOf(Props(new Actor { def receive = { - case a => sender ! a; println("BAAAANG") + case a => sender ! a; } })) -- cgit v1.2.3