diff options
author | Diego <diegolparra@gmail.com> | 2014-12-02 00:25:03 -0300 |
---|---|---|
committer | Diego <diegolparra@gmail.com> | 2014-12-04 02:27:39 -0300 |
commit | 8d07527b1bd69c2165b6d4f1f97d852da3e6f0b0 (patch) | |
tree | 6d186d92a2c77d4298221d5ddbc080e6ac094d67 /kamon-jdbc/src | |
parent | ff9c796e960a2292393d6c2c351d527c2773bcbb (diff) | |
download | Kamon-8d07527b1bd69c2165b6d4f1f97d852da3e6f0b0.tar.gz Kamon-8d07527b1bd69c2165b6d4f1f97d852da3e6f0b0.tar.bz2 Kamon-8d07527b1bd69c2165b6d4f1f97d852da3e6f0b0.zip |
= jdbc: rename processors in Spec
Diffstat (limited to 'kamon-jdbc/src')
-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!!!*/ } } |