diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2013-10-02 09:03:42 -0300 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2013-10-02 09:03:42 -0300 |
commit | 03c6a7d81e38dfa856ede9a188467b2c01bfb5f1 (patch) | |
tree | 3b7aa37c0e9f642a6cf2606e09bf37292ccd5bd5 /kamon-core/src/test/scala/kamon | |
parent | bf3273587f13f45ac4228b72c8a72628feb60f65 (diff) | |
download | Kamon-03c6a7d81e38dfa856ede9a188467b2c01bfb5f1.tar.gz Kamon-03c6a7d81e38dfa856ede9a188467b2c01bfb5f1.tar.bz2 Kamon-03c6a7d81e38dfa856ede9a188467b2c01bfb5f1.zip |
wip
Diffstat (limited to 'kamon-core/src/test/scala/kamon')
-rw-r--r-- | kamon-core/src/test/scala/kamon/instrumentation/RunnableInstrumentationSpec.scala | 4 |
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 { |