aboutsummaryrefslogtreecommitdiff
path: root/src/test/scala/kamon/instrumentation/DispatcherInstrumentationSpec.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/scala/kamon/instrumentation/DispatcherInstrumentationSpec.scala')
-rw-r--r--src/test/scala/kamon/instrumentation/DispatcherInstrumentationSpec.scala4
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;
}
}))