aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego <diegolparra@gmail.com>2015-08-24 14:24:24 -0300
committerDiego <diegolparra@gmail.com>2015-08-25 10:13:22 -0300
commitdf3711e177b58ce752592736f0a327c920adb3f0 (patch)
tree2f3534951ffa7c7b12164d58236c6b2cf4dd98e4
parent569f1997c70f54b1b9f08b2f255e6bb46212ae77 (diff)
downloadKamon-df3711e177b58ce752592736f0a327c920adb3f0.tar.gz
Kamon-df3711e177b58ce752592736f0a327c920adb3f0.tar.bz2
Kamon-df3711e177b58ce752592736f0a327c920adb3f0.zip
! kamon-akka: change in DispatcherInstrumentation the type of Dispatcher to ForkJoinPool instead of AkkaForkJoinPool
-rw-r--r--kamon-core/src/test/scala/kamon/util/executors/ExecutorServiceMetricsSpec.scala10
1 files changed, 5 insertions, 5 deletions
diff --git a/kamon-core/src/test/scala/kamon/util/executors/ExecutorServiceMetricsSpec.scala b/kamon-core/src/test/scala/kamon/util/executors/ExecutorServiceMetricsSpec.scala
index 91f3cb71..b3bc7623 100644
--- a/kamon-core/src/test/scala/kamon/util/executors/ExecutorServiceMetricsSpec.scala
+++ b/kamon-core/src/test/scala/kamon/util/executors/ExecutorServiceMetricsSpec.scala
@@ -31,7 +31,7 @@ class ExecutorServiceMetricsSpec extends BaseKamonSpec("executor-service-metrics
findExecutorRecorder("single-thread-pool") should not be empty
ExecutorServiceMetrics.remove("single-thread-pool")
- findExecutorRecorder("single-thread-pool") should be (empty)
+ findExecutorRecorder("single-thread-pool") should be(empty)
}
"register a ThreadPoolExecutor, collect their metrics and remove it" in {
@@ -40,7 +40,7 @@ class ExecutorServiceMetricsSpec extends BaseKamonSpec("executor-service-metrics
findExecutorRecorder("thread-pool-executor") should not be empty
ExecutorServiceMetrics.remove("thread-pool-executor")
- findExecutorRecorder("thread-pool-executor") should be (empty)
+ findExecutorRecorder("thread-pool-executor") should be(empty)
}
"register a ScheduledThreadPoolExecutor, collect their metrics and remove it" in {
@@ -49,7 +49,7 @@ class ExecutorServiceMetricsSpec extends BaseKamonSpec("executor-service-metrics
findExecutorRecorder("scheduled-thread-pool-executor") should not be empty
ExecutorServiceMetrics.remove("scheduled-thread-pool-executor")
- findExecutorRecorder("scheduled-thread-pool-executor") should be (empty)
+ findExecutorRecorder("scheduled-thread-pool-executor") should be(empty)
}
"register a Java ForkJoinPool, collect their metrics and remove it" in {
@@ -58,7 +58,7 @@ class ExecutorServiceMetricsSpec extends BaseKamonSpec("executor-service-metrics
findExecutorRecorder("java-fork-join-pool") should not be empty
ExecutorServiceMetrics.remove("java-fork-join-pool")
- findExecutorRecorder("java-fork-join-pool") should be (empty)
+ findExecutorRecorder("java-fork-join-pool") should be(empty)
}
"register a Scala ForkJoinPool, collect their metrics and remove it" in {
@@ -67,7 +67,7 @@ class ExecutorServiceMetricsSpec extends BaseKamonSpec("executor-service-metrics
findExecutorRecorder("scala-fork-join-pool") should not be empty
ExecutorServiceMetrics.remove("scala-fork-join-pool")
- findExecutorRecorder("scala-fork-join-pool") should be (empty)
+ findExecutorRecorder("scala-fork-join-pool") should be(empty)
}
def findExecutorRecorder(name: String): Option[EntityRecorder] =