diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2014-08-04 16:51:26 -0300 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2014-08-04 16:51:26 -0300 |
commit | 05e5b54d76ab7f06c2fc1264d430e772bf00f3e6 (patch) | |
tree | 854cef89ad7cf0a6f2b4df9173244530f00c9c8d /kamon-core/src/test/scala | |
parent | e4ff86c82955961f07faa774b2591947055b8b7f (diff) | |
download | Kamon-05e5b54d76ab7f06c2fc1264d430e772bf00f3e6.tar.gz Kamon-05e5b54d76ab7f06c2fc1264d430e772bf00f3e6.tar.bz2 Kamon-05e5b54d76ab7f06c2fc1264d430e772bf00f3e6.zip |
= core: minor fix in actor metrics spec
Diffstat (limited to 'kamon-core/src/test/scala')
-rw-r--r-- | kamon-core/src/test/scala/kamon/metric/ActorMetricsSpec.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kamon-core/src/test/scala/kamon/metric/ActorMetricsSpec.scala b/kamon-core/src/test/scala/kamon/metric/ActorMetricsSpec.scala index 8f5e1b9b..3160719d 100644 --- a/kamon-core/src/test/scala/kamon/metric/ActorMetricsSpec.scala +++ b/kamon-core/src/test/scala/kamon/metric/ActorMetricsSpec.scala @@ -51,7 +51,7 @@ class ActorMetricsSpec extends TestKitBase with WordSpecLike with Matchers with | } | | default-min-max-counter-precision { - | refresh-interval = 1 second + | refresh-interval = 1 hour | highest-trackable-value = 999999999 | significant-value-digits = 2 | } @@ -89,9 +89,9 @@ class ActorMetricsSpec extends TestKitBase with WordSpecLike with Matchers with val secondSnapshot = takeSnapshotOf(trackedActorMetrics) // Ensure that the recorders are clean secondSnapshot.errors.count should be(0L) - secondSnapshot.mailboxSize.numberOfMeasurements should be <= 3L - secondSnapshot.processingTime.numberOfMeasurements should be(0L) // 102 examples + Initialize message - secondSnapshot.timeInMailbox.numberOfMeasurements should be(0L) // 102 examples + Initialize message + secondSnapshot.mailboxSize.numberOfMeasurements should be(3L) // min, max and current + secondSnapshot.processingTime.numberOfMeasurements should be(0L) + secondSnapshot.timeInMailbox.numberOfMeasurements should be(0L) } "record the processing-time of the receive function" in new ActorMetricsFixtures { |