From f6805411bbe80544d90736d560322fa6d6bd24e1 Mon Sep 17 00:00:00 2001 From: Diego Date: Sun, 16 Nov 2014 21:49:23 -0300 Subject: = play: fix WSInstrumentationSpec --- kamon-play/src/test/scala/kamon/play/WSInstrumentationSpec.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 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 bda8281b..3629c1d1 100644 --- a/kamon-play/src/test/scala/kamon/play/WSInstrumentationSpec.scala +++ b/kamon-play/src/test/scala/kamon/play/WSInstrumentationSpec.scala @@ -59,9 +59,9 @@ class WSInstrumentationSpec extends WordSpecLike with Matchers with OneServerPer }(Akka.system()) val snapshot = takeSnapshotOf("trace-outside-action") - //snapshot.elapsedTime.numberOfMeasurements should be(1) disabled for fail in travis - //snapshot.segments.size should be(1) disabled for fail in travis - //snapshot.segments(HttpClientRequest("http://localhost:19001/outside")).numberOfMeasurements should be(1) disabled for fail in travis + snapshot.elapsedTime.numberOfMeasurements should be(1) + snapshot.segments.size should be(1) + snapshot.segments(SegmentMetricIdentity("http://localhost:19001/outside", SegmentCategory.HttpClient, Play.SegmentLibraryName)).numberOfMeasurements should be(1) } } -- cgit v1.2.3