diff options
author | Diego <diegolparra@gmail.com> | 2014-09-09 23:04:48 -0300 |
---|---|---|
committer | Diego <diegolparra@gmail.com> | 2014-09-09 23:04:48 -0300 |
commit | 98d80c5ffe2e1d47ae2f8ee0304058677c576dd5 (patch) | |
tree | aee2be8db337415651fe093939685dc337fc8b2a | |
parent | e3ce632beb18f4c1f69eff246ff5c646fd315c46 (diff) | |
download | Kamon-98d80c5ffe2e1d47ae2f8ee0304058677c576dd5.tar.gz Kamon-98d80c5ffe2e1d47ae2f8ee0304058677c576dd5.tar.bz2 Kamon-98d80c5ffe2e1d47ae2f8ee0304058677c576dd5.zip |
= play: fix WSInstrumentation tests
-rw-r--r-- | kamon-play/src/test/scala/kamon/play/WSInstrumentationSpec.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kamon-play/src/test/scala/kamon/play/WSInstrumentationSpec.scala b/kamon-play/src/test/scala/kamon/play/WSInstrumentationSpec.scala index 3378d477..46fcb30b 100644 --- a/kamon-play/src/test/scala/kamon/play/WSInstrumentationSpec.scala +++ b/kamon-play/src/test/scala/kamon/play/WSInstrumentationSpec.scala @@ -58,6 +58,8 @@ class WSInstrumentationSpec extends WordSpecLike with Matchers with OneServerPer TraceRecorder.finish() }(Akka.system()) + Thread.sleep(1000) // wait to complete the future + val snapshot = takeSnapshotOf("trace-outside-action") snapshot.elapsedTime.numberOfMeasurements should be(1) snapshot.segments.size should be(1) |