diff options
author | Diego <diegolparra@gmail.com> | 2014-05-20 21:32:48 -0300 |
---|---|---|
committer | Diego <diegolparra@gmail.com> | 2014-05-20 21:32:48 -0300 |
commit | 9d276fe8167da0e285b2c2a00721a6a3014699c4 (patch) | |
tree | 6848791bff567daa94e636288fd6e4cb4f03fe7d /kamon-play/src/test | |
parent | a294d0d9d3e020ee654c732bcb436ed715b6b93c (diff) | |
download | Kamon-9d276fe8167da0e285b2c2a00721a6a3014699c4.tar.gz Kamon-9d276fe8167da0e285b2c2a00721a6a3014699c4.tar.bz2 Kamon-9d276fe8167da0e285b2c2a00721a6a3014699c4.zip |
= core: fix DispatcherMetricsSpec
Diffstat (limited to 'kamon-play/src/test')
-rw-r--r-- | kamon-play/src/test/scala/kamon/play/RequestInstrumentationSpec.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kamon-play/src/test/scala/kamon/play/RequestInstrumentationSpec.scala b/kamon-play/src/test/scala/kamon/play/RequestInstrumentationSpec.scala index f6b73911..8cf2d8e1 100644 --- a/kamon-play/src/test/scala/kamon/play/RequestInstrumentationSpec.scala +++ b/kamon-play/src/test/scala/kamon/play/RequestInstrumentationSpec.scala @@ -90,6 +90,7 @@ class RequestInstrumentationSpec extends PlaySpec with OneServerPerSuite { "respond to the Async Action with X-Trace-Token and the renamed trace" in { val Some(result) = route(FakeRequest(GET, "/async-renamed").withHeaders(traceTokenHeader)) + Thread.sleep(3000) TraceRecorder.currentContext.map(_.name) must be(Some("renamed-trace")) header(traceTokenHeaderName, result) must be(expectedToken) } |