diff options
author | Ivan Topolnak <itopolnak@despegar.com> | 2014-01-31 18:13:18 -0300 |
---|---|---|
committer | Ivan Topolnak <itopolnak@despegar.com> | 2014-01-31 18:13:18 -0300 |
commit | 6bdbe4c6473ac052567c097c1a7376c15dc67ea2 (patch) | |
tree | cc3830e765ac52d3a9d87772c006d9e472bb149e /kamon-core | |
parent | 49c426a635d10182e8a628353dfdf5510c4d9df2 (diff) | |
download | Kamon-6bdbe4c6473ac052567c097c1a7376c15dc67ea2.tar.gz Kamon-6bdbe4c6473ac052567c097c1a7376c15dc67ea2.tar.bz2 Kamon-6bdbe4c6473ac052567c097c1a7376c15dc67ea2.zip |
update spray server request instrumentation tests
Diffstat (limited to 'kamon-core')
4 files changed, 5 insertions, 5 deletions
diff --git a/kamon-core/src/test/scala/kamon/trace/instrumentation/ActorLoggingSpec.scala b/kamon-core/src/test/scala/kamon/trace/instrumentation/ActorLoggingSpec.scala index a0d8e933..81fd9cbc 100644 --- a/kamon-core/src/test/scala/kamon/trace/instrumentation/ActorLoggingSpec.scala +++ b/kamon-core/src/test/scala/kamon/trace/instrumentation/ActorLoggingSpec.scala @@ -19,7 +19,7 @@ import akka.testkit.TestKit import org.scalatest.{ Inspectors, Matchers, WordSpecLike } import akka.actor.{ Props, ActorLogging, Actor, ActorSystem } import akka.event.Logging.LogEvent -import kamon.trace.{TraceContextAware, TraceRecorder} +import kamon.trace.{ TraceContextAware, TraceRecorder } class ActorLoggingSpec extends TestKit(ActorSystem("actor-logging-spec")) with WordSpecLike with Matchers with Inspectors { diff --git a/kamon-core/src/test/scala/kamon/trace/instrumentation/ActorSystemMessagePassingInstrumentationSpec.scala b/kamon-core/src/test/scala/kamon/trace/instrumentation/ActorSystemMessagePassingInstrumentationSpec.scala index 00ecae79..ed239b38 100644 --- a/kamon-core/src/test/scala/kamon/trace/instrumentation/ActorSystemMessagePassingInstrumentationSpec.scala +++ b/kamon-core/src/test/scala/kamon/trace/instrumentation/ActorSystemMessagePassingInstrumentationSpec.scala @@ -25,7 +25,7 @@ class ActorSystemMessagePassingInstrumentationSpec extends TestKit(ActorSystem(" expectMsg(testTraceContext) } - "keep the TraceContext while processing the Create message in non top level actors" in { + "keep the TraceContext while processing the Create message in non top level actors" in { val testTraceContext = TraceRecorder.withNewTraceContext("creating-non-top-level-actor") { system.actorOf(Props(new Actor { def receive: Actor.Receive = { diff --git a/kamon-core/src/test/scala/kamon/trace/instrumentation/AskPatternTracingSpec.scala b/kamon-core/src/test/scala/kamon/trace/instrumentation/AskPatternTracingSpec.scala index 0387386c..04a5c0e3 100644 --- a/kamon-core/src/test/scala/kamon/trace/instrumentation/AskPatternTracingSpec.scala +++ b/kamon-core/src/test/scala/kamon/trace/instrumentation/AskPatternTracingSpec.scala @@ -22,7 +22,7 @@ import akka.event.Logging.Warning import scala.concurrent.duration._ import akka.pattern.ask import akka.util.Timeout -import kamon.trace.{TraceContextAware, TraceRecorder} +import kamon.trace.{ TraceContextAware, TraceRecorder } import org.scalatest.OptionValues._ class AskPatternTracingSpec extends TestKit(ActorSystem("ask-pattern-tracing-spec")) with WordSpecLike with Matchers { diff --git a/kamon-core/src/test/scala/kamon/trace/instrumentation/FutureTracingSpec.scala b/kamon-core/src/test/scala/kamon/trace/instrumentation/FutureTracingSpec.scala index e6797148..b1765fd8 100644 --- a/kamon-core/src/test/scala/kamon/trace/instrumentation/FutureTracingSpec.scala +++ b/kamon-core/src/test/scala/kamon/trace/instrumentation/FutureTracingSpec.scala @@ -23,7 +23,7 @@ import akka.testkit.TestKit import akka.actor.ActorSystem class FutureTracingSpec extends TestKit(ActorSystem("actor-message-passing-tracing-spec")) with WordSpecLike with Matchers - with ScalaFutures with PatienceConfiguration with OptionValues { + with ScalaFutures with PatienceConfiguration with OptionValues { implicit val execContext = system.dispatcher @@ -41,7 +41,7 @@ class FutureTracingSpec extends TestKit(ActorSystem("actor-message-passing-traci ctxInFuture should equal(testTraceContext)) } - "must be available when executing callbacks on the future" in { + "must be available when executing callbacks on the future" in { val (future, testTraceContext) = TraceRecorder.withNewTraceContext("future-body") { val future = Future("Hello Kamon!") |