diff options
Diffstat (limited to 'src/test/scala/kamon/instrumentation/FutureInstrumentationSpec.scala')
-rw-r--r-- | src/test/scala/kamon/instrumentation/FutureInstrumentationSpec.scala | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/test/scala/kamon/instrumentation/FutureInstrumentationSpec.scala b/src/test/scala/kamon/instrumentation/FutureInstrumentationSpec.scala deleted file mode 100644 index 2eb8d07a..00000000 --- a/src/test/scala/kamon/instrumentation/FutureInstrumentationSpec.scala +++ /dev/null @@ -1,25 +0,0 @@ -package kamon.instrumentation - -import scala.concurrent.{Await, Future} -import org.specs2.mutable.Specification -import scala.concurrent.ExecutionContext.Implicits.global -import scala.concurrent.duration.{FiniteDuration, DurationLong} -import org.specs2.time.{ Duration => SpecsDuration } - - -class FutureInstrumentationSpec extends Specification { - import Await.result - implicit def specsDuration2Akka(duration: SpecsDuration): FiniteDuration = new DurationLong(duration.inMillis).millis - - "a instrumented Future" should { - "preserve the transaction context available during the future creation" in { - - } - - "use the same context available at creation when executing the onComplete callback" in { - val future = Future { "hello" } - - result(future, 100 millis) === "hello" - } - } -} |