aboutsummaryrefslogtreecommitdiff
path: root/kamon-core
diff options
context:
space:
mode:
Diffstat (limited to 'kamon-core')
-rw-r--r--kamon-core/src/test/scala/kamon/metric/TickMetricSnapshotBufferSpec.scala8
1 files changed, 4 insertions, 4 deletions
diff --git a/kamon-core/src/test/scala/kamon/metric/TickMetricSnapshotBufferSpec.scala b/kamon-core/src/test/scala/kamon/metric/TickMetricSnapshotBufferSpec.scala
index 1a102603..44d19f98 100644
--- a/kamon-core/src/test/scala/kamon/metric/TickMetricSnapshotBufferSpec.scala
+++ b/kamon-core/src/test/scala/kamon/metric/TickMetricSnapshotBufferSpec.scala
@@ -55,8 +55,8 @@ class TickMetricSnapshotBufferSpec extends TestKitBase with WordSpecLike with Ma
within(2 seconds)(expectNoMsg())
val mergedSnapshot = expectMsgType[TickMetricSnapshot]
- mergedSnapshot.from should equal(1000)
- mergedSnapshot.to should equal(4000)
+ mergedSnapshot.from.millis should equal(1000)
+ mergedSnapshot.to.millis should equal(4000)
mergedSnapshot.metrics should be('empty)
}
@@ -70,8 +70,8 @@ class TickMetricSnapshotBufferSpec extends TestKitBase with WordSpecLike with Ma
within(2 seconds)(expectNoMsg())
val mergedSnapshot = expectMsgType[TickMetricSnapshot]
- mergedSnapshot.from should equal(1000)
- mergedSnapshot.to should equal(4000)
+ mergedSnapshot.from.millis should equal(1000)
+ mergedSnapshot.to.millis should equal(4000)
mergedSnapshot.metrics should not be ('empty)
val testMetricSnapshot = mergedSnapshot.metrics(testTraceIdentity).metrics(TraceMetrics.ElapsedTime).asInstanceOf[Histogram.Snapshot]