diff options
author | Ivan Topolnak <ivantopo@gmail.com> | 2013-05-30 13:04:41 -0300 |
---|---|---|
committer | Ivan Topolnak <ivantopo@gmail.com> | 2013-05-30 13:04:41 -0300 |
commit | 38316a2b0b3a58b81cf7458b0a719980136bbb97 (patch) | |
tree | 156ac7cde159d432d70f4f5b82aa1ed67e4aee28 /src/test/scala/kamon | |
parent | 577a03219827889e31fedbe915f677060503cc2c (diff) | |
download | Kamon-38316a2b0b3a58b81cf7458b0a719980136bbb97.tar.gz Kamon-38316a2b0b3a58b81cf7458b0a719980136bbb97.tar.bz2 Kamon-38316a2b0b3a58b81cf7458b0a719980136bbb97.zip |
Settled with a @Aspectj style for instrumentation on runnables
Diffstat (limited to 'src/test/scala/kamon')
-rw-r--r-- | src/test/scala/kamon/instrumentation/FutureInstrumentationSpec.scala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/scala/kamon/instrumentation/FutureInstrumentationSpec.scala b/src/test/scala/kamon/instrumentation/FutureInstrumentationSpec.scala index 713d1248..44f92148 100644 --- a/src/test/scala/kamon/instrumentation/FutureInstrumentationSpec.scala +++ b/src/test/scala/kamon/instrumentation/FutureInstrumentationSpec.scala @@ -1,6 +1,6 @@ package kamon.instrumentation -import scala.concurrent.{Promise, Future} +import scala.concurrent.{Await, Promise, Future} import scala.concurrent.ExecutionContext.Implicits.global import org.scalatest.{OptionValues, WordSpec} import org.scalatest.matchers.MustMatchers @@ -8,6 +8,8 @@ import org.scalatest.concurrent.PatienceConfiguration import kamon.TraceContext import java.util.UUID import scala.util.Success +import scala.concurrent.duration._ +import java.util.concurrent.TimeUnit class FutureInstrumentationSpec extends WordSpec with MustMatchers with ScalaFutures with PatienceConfiguration with OptionValues { |