diff options
-rw-r--r-- | kamon-jdbc/src/test/scala/kamon/jdbc/instrumentation/StatementInstrumentationSpec.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kamon-jdbc/src/test/scala/kamon/jdbc/instrumentation/StatementInstrumentationSpec.scala b/kamon-jdbc/src/test/scala/kamon/jdbc/instrumentation/StatementInstrumentationSpec.scala index 4b400727..9d3c7124 100644 --- a/kamon-jdbc/src/test/scala/kamon/jdbc/instrumentation/StatementInstrumentationSpec.scala +++ b/kamon-jdbc/src/test/scala/kamon/jdbc/instrumentation/StatementInstrumentationSpec.scala @@ -40,10 +40,10 @@ class StatementInstrumentationSpec extends TestKitBase with WordSpecLike with Ma | slow-query-threshold = 100 milliseconds | | # Fully qualified name of the implementation of kamon.jdbc.SlowQueryProcessor. - | slow-query-processor = kamon.jdbc.instrumentation.NOPSlowQueryProcessor + | slow-query-processor = kamon.jdbc.instrumentation.NoOpSlowQueryProcessor | | # Fully qualified name of the implementation of kamon.jdbc.SqlErrorProcessor. - | sql-error-processor = kamon.jdbc.instrumentation.NOPSqlErrorProcessor + | sql-error-processor = kamon.jdbc.instrumentation.NoOpSqlErrorProcessor | } |} """.stripMargin)) @@ -181,11 +181,11 @@ class StatementInstrumentationSpec extends TestKitBase with WordSpecLike with Ma } } -class NOPSlowQueryProcessor extends SlowQueryProcessor { +class NoOpSlowQueryProcessor extends SlowQueryProcessor { override def process(sql: String, executionTimeInMillis: Long, queryThresholdInMillis: Long): Unit = { /*do nothing!!!*/ } } -class NOPSqlErrorProcessor extends SqlErrorProcessor { +class NoOpSqlErrorProcessor extends SqlErrorProcessor { override def process(sql: String, ex: Throwable): Unit = { /*do nothing!!!*/ } } |