aboutsummaryrefslogtreecommitdiff
path: root/kamon-core/src/test/scala/kamon
diff options
context:
space:
mode:
authorIvan Topolnjak <ivantopo@gmail.com>2013-10-02 09:03:42 -0300
committerIvan Topolnjak <ivantopo@gmail.com>2013-10-02 09:03:42 -0300
commite2a9aa15b6ecda441fd81960b31b0b836af6d64a (patch)
tree3cee425fdf5fe7a1ffb4b85212e0bc8d3e75ffd0 /kamon-core/src/test/scala/kamon
parent65428c248502dadb2bdefa58cbc034ced6af9354 (diff)
downloadKamon-e2a9aa15b6ecda441fd81960b31b0b836af6d64a.tar.gz
Kamon-e2a9aa15b6ecda441fd81960b31b0b836af6d64a.tar.bz2
Kamon-e2a9aa15b6ecda441fd81960b31b0b836af6d64a.zip
wip
Diffstat (limited to 'kamon-core/src/test/scala/kamon')
-rw-r--r--kamon-core/src/test/scala/kamon/instrumentation/RunnableInstrumentationSpec.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/kamon-core/src/test/scala/kamon/instrumentation/RunnableInstrumentationSpec.scala b/kamon-core/src/test/scala/kamon/instrumentation/RunnableInstrumentationSpec.scala
index fe89695b..86bef0d8 100644
--- a/kamon-core/src/test/scala/kamon/instrumentation/RunnableInstrumentationSpec.scala
+++ b/kamon-core/src/test/scala/kamon/instrumentation/RunnableInstrumentationSpec.scala
@@ -25,7 +25,7 @@ class RunnableInstrumentationSpec extends WordSpec with Matchers with ScalaFutur
"should be available during the execution of onComplete callbacks" in { new FutureWithContextFixture {
val onCompleteContext = Promise[TraceContext]()
-
+ Tracer.clear
futureWithContext.onComplete({
case _ => onCompleteContext.complete(Success(Tracer.context.get))
})
@@ -70,7 +70,7 @@ class RunnableInstrumentationSpec extends WordSpec with Matchers with ScalaFutur
val testContext = TraceContext()
Tracer.set(testContext)
- val futureWithContext = Future { Tracer.context}
+ val futureWithContext = Future { Tracer.context }
}
trait FutureWithoutContextFixture {