aboutsummaryrefslogtreecommitdiff
path: root/kamon-core/src/test/scala/kamon/metrics
diff options
context:
space:
mode:
authorIvan Topolnjak <ivantopo@gmail.com>2014-04-08 00:20:44 -0300
committerIvan Topolnjak <ivantopo@gmail.com>2014-04-08 00:20:44 -0300
commit496d0dcc4478427d299f3b45409deac0247b5dae (patch)
treea28f12a2a76744c2d770513d12c21b7fc71cf748 /kamon-core/src/test/scala/kamon/metrics
parent1f6e6d488f0658a02aa9ffff3ced8ae9f618c1a0 (diff)
downloadKamon-496d0dcc4478427d299f3b45409deac0247b5dae.tar.gz
Kamon-496d0dcc4478427d299f3b45409deac0247b5dae.tar.bz2
Kamon-496d0dcc4478427d299f3b45409deac0247b5dae.zip
= core: fix assertion on max mailbox-size
Diffstat (limited to 'kamon-core/src/test/scala/kamon/metrics')
-rw-r--r--kamon-core/src/test/scala/kamon/metrics/ActorMetricsSpec.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/kamon-core/src/test/scala/kamon/metrics/ActorMetricsSpec.scala b/kamon-core/src/test/scala/kamon/metrics/ActorMetricsSpec.scala
index d06cbb8b..29b8eafc 100644
--- a/kamon-core/src/test/scala/kamon/metrics/ActorMetricsSpec.scala
+++ b/kamon-core/src/test/scala/kamon/metrics/ActorMetricsSpec.scala
@@ -71,7 +71,7 @@ class ActorMetricsSpec extends TestKitBase with WordSpecLike with Matchers {
val actorMetrics = expectActorMetrics("user/tracked-normal-conditions", metricsListener, 3 seconds)
// Mailbox size is measured twice, on queue and dequeue, plus the automatic last-value recording.
actorMetrics.mailboxSize.numberOfMeasurements should be(21)
- actorMetrics.mailboxSize.max should be < 10L
+ actorMetrics.mailboxSize.max should be <= 10L
actorMetrics.processingTime.numberOfMeasurements should be(10L)