aboutsummaryrefslogtreecommitdiff
path: root/kamon-play/src/test/scala/kamon/play/WSInstrumentationSpec.scala
diff options
context:
space:
mode:
authorDiego <diegolparra@gmail.com>2015-01-30 01:17:07 -0300
committerDiego <diegolparra@gmail.com>2015-01-30 01:17:07 -0300
commitb02f2c07bad4abdb128f5249b4e1a9eabfde4ce9 (patch)
tree2745ed6fa41e326c4f3a4f12c000d1310679a805 /kamon-play/src/test/scala/kamon/play/WSInstrumentationSpec.scala
parente3ff68809b31dd673aefa5b605d70bd40bc2c1d9 (diff)
downloadKamon-b02f2c07bad4abdb128f5249b4e1a9eabfde4ce9.tar.gz
Kamon-b02f2c07bad4abdb128f5249b4e1a9eabfde4ce9.tar.bz2
Kamon-b02f2c07bad4abdb128f5249b4e1a9eabfde4ce9.zip
= play: use our own dispatcher instead of Akka's default dispatcher and reduce verbosity of log in test
Diffstat (limited to 'kamon-play/src/test/scala/kamon/play/WSInstrumentationSpec.scala')
-rw-r--r--kamon-play/src/test/scala/kamon/play/WSInstrumentationSpec.scala4
1 files changed, 2 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 3dec2ebf..795453d0 100644
--- a/kamon-play/src/test/scala/kamon/play/WSInstrumentationSpec.scala
+++ b/kamon-play/src/test/scala/kamon/play/WSInstrumentationSpec.scala
@@ -47,8 +47,8 @@ class WSInstrumentationSpec extends WordSpecLike with Matchers with OneServerPer
val snapshot = takeSnapshotOf("GET: /inside")
snapshot.histogram("elapsed-time").get.numberOfMeasurements should be(1)
- // snapshot.segments.size should be(1)
- // snapshot.segment("http://localhost:19001/async", SegmentCategory.HttpClient, Play.SegmentLibraryName).numberOfMeasurements should be(1)
+ snapshot.segments.size should be(1)
+ snapshot.segment("http://localhost:19001/async", SegmentCategory.HttpClient, Play.SegmentLibraryName).numberOfMeasurements should be(1)
}
"propagate the TraceContext outside an Action and complete the WS request" in {