diff options
Diffstat (limited to 'kamon-play')
-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) |