diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2014-12-05 04:17:29 +0100 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2014-12-05 04:17:29 +0100 |
commit | 6c99cdf2f8d2988696550c6db1df0a3783bf4986 (patch) | |
tree | eb984f4a10ce81403a5508659089f209ed631f84 /kamon-core/src/test/scala/kamon | |
parent | 757cd3fa62addda695c8137da8b0ea5648a40eb8 (diff) | |
download | Kamon-6c99cdf2f8d2988696550c6db1df0a3783bf4986.tar.gz Kamon-6c99cdf2f8d2988696550c6db1df0a3783bf4986.tar.bz2 Kamon-6c99cdf2f8d2988696550c6db1df0a3783bf4986.zip |
= core: force the tick buffer spec to use the .millis value of MilliTimestamp.
Diffstat (limited to 'kamon-core/src/test/scala/kamon')
-rw-r--r-- | kamon-core/src/test/scala/kamon/metric/TickMetricSnapshotBufferSpec.scala | 8 |
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] |