diff options
author | Ivan Topolnak <ivantopo@gmail.com> | 2013-08-07 11:25:08 -0300 |
---|---|---|
committer | Ivan Topolnak <ivantopo@gmail.com> | 2013-08-07 11:25:08 -0300 |
commit | 1e6665e30d96772eab92aca4d23e176adcd88dc5 (patch) | |
tree | dfbeb7cf71ac6a67345f1d9eaec903a7023c32e8 /src/test/scala/kamon/instrumentation/DispatcherInstrumentationSpec.scala | |
parent | a9f568f562e1c4a358a3f63b3dcce2b38b5e14d6 (diff) | |
download | Kamon-1e6665e30d96772eab92aca4d23e176adcd88dc5.tar.gz Kamon-1e6665e30d96772eab92aca4d23e176adcd88dc5.tar.bz2 Kamon-1e6665e30d96772eab92aca4d23e176adcd88dc5.zip |
upgraded to akka 2.2
Diffstat (limited to 'src/test/scala/kamon/instrumentation/DispatcherInstrumentationSpec.scala')
-rw-r--r-- | src/test/scala/kamon/instrumentation/DispatcherInstrumentationSpec.scala | 4 |
1 files changed, 2 insertions, 2 deletions
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; } })) |