aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Topolnjak <ivantopo@gmail.com>2014-08-04 16:51:26 -0300
committerIvan Topolnjak <ivantopo@gmail.com>2014-08-04 16:51:26 -0300
commita6fc18a64dee64b9de9ff5e9b0fda0c4d84536c9 (patch)
tree49cee7217c642d27659bbb3f83d79c6d77d1380e
parent54f78b3f4a7c50fd5a15837ea61cbea8ffb8fde5 (diff)
downloadKamon-a6fc18a64dee64b9de9ff5e9b0fda0c4d84536c9.tar.gz
Kamon-a6fc18a64dee64b9de9ff5e9b0fda0c4d84536c9.tar.bz2
Kamon-a6fc18a64dee64b9de9ff5e9b0fda0c4d84536c9.zip
= core: minor fix in actor metrics spec
-rw-r--r--kamon-core/src/test/scala/kamon/metric/ActorMetricsSpec.scala8
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 {