From cdcb024f9b7fc07cc5da5bd36659e051e2c2c535 Mon Sep 17 00:00:00 2001 From: Diego Date: Tue, 9 Sep 2014 23:36:14 -0300 Subject: = play: fix tests --- kamon-play/src/test/scala/kamon/play/WSInstrumentationSpec.scala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'kamon-play') 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) -- cgit v1.2.3