Skip to content

Commit f101473

Browse files
committed
fix dispatcher metric tests assertions
1 parent 34ca886 commit f101473

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instrumentation/kamon-akka/src/test-common/scala/kamon/instrumentation/akka/DispatcherMetricsSpec.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class DispatcherMetricsSpec extends TestKit(ActorSystem("DispatcherMetricsSpec")
106106

107107
"pick up default execution contexts provided when creating an actor system when the type is unknown" in {
108108
val dec = new WrappingExecutionContext(ExecutionContext.fromExecutor(Executors.newFixedThreadPool(8)))
109-
val system = ActorSystem(name = "with-default-ec", defaultExecutionContext = Some(dec))
109+
val system = ActorSystem(name = "with-unknown-default-ec", defaultExecutionContext = Some(dec))
110110

111111
val instrumentExecutorsWithSystem = ExecutorMetrics.ThreadsActive.instruments().keys
112112
.filter(_.get(plain("akka.system")) == system.name)

0 commit comments

Comments
 (0)