aboutsummaryrefslogtreecommitdiff
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
commita22e467a9b4131d978861b048a5402c9bf08e20b (patch)
treece991fc82c0c28547ab4e24c9de33725189dd241
parentded044c87eeb5313ec4067dc660ea92cccb4b098 (diff)
downloadKamon-a22e467a9b4131d978861b048a5402c9bf08e20b.tar.gz
Kamon-a22e467a9b4131d978861b048a5402c9bf08e20b.tar.bz2
Kamon-a22e467a9b4131d978861b048a5402c9bf08e20b.zip
= core: fix assertion on max mailbox-size
-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)