diff options
author | Diego <diegolparra@gmail.com> | 2014-09-09 23:36:14 -0300 |
---|---|---|
committer | Diego <diegolparra@gmail.com> | 2014-09-09 23:36:14 -0300 |
commit | cdcb024f9b7fc07cc5da5bd36659e051e2c2c535 (patch) | |
tree | dd530de42a2f64a6ba4c36f3efcc58aff61bab16 /kamon-play/src | |
parent | 98d80c5ffe2e1d47ae2f8ee0304058677c576dd5 (diff) | |
download | Kamon-cdcb024f9b7fc07cc5da5bd36659e051e2c2c535.tar.gz Kamon-cdcb024f9b7fc07cc5da5bd36659e051e2c2c535.tar.bz2 Kamon-cdcb024f9b7fc07cc5da5bd36659e051e2c2c535.zip |
= play: fix tests
Diffstat (limited to 'kamon-play/src')
-rw-r--r-- | kamon-play/src/test/scala/kamon/play/WSInstrumentationSpec.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kamon-play/src/test/scala/kamon/play/WSInstrumentationSpec.scala b/kamon-play/src/test/scala/kamon/play/WSInstrumentationSpec.scala index 46fcb30b..aba1f1aa 100644 --- a/kamon-play/src/test/scala/kamon/play/WSInstrumentationSpec.scala +++ b/kamon-play/src/test/scala/kamon/play/WSInstrumentationSpec.scala @@ -58,9 +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") + println(snapshot) snapshot.elapsedTime.numberOfMeasurements should be(1) snapshot.segments.size should be(1) snapshot.segments(HttpClientRequest("http://localhost:19001/outside")).numberOfMeasurements should be(1) |