aboutsummaryrefslogtreecommitdiff
path: root/kamon-core/src/test/scala/kamon/metric
diff options
context:
space:
mode:
authorDiego <diegolparra@gmail.com>2016-04-22 01:17:40 -0300
committerDiego <diegolparra@gmail.com>2016-04-22 01:17:40 -0300
commit977c16ce2ec1fe55248aa312f037dc411c8622bc (patch)
tree7aadc60f2daac43be9262baa2e25a4d6e4b456e4 /kamon-core/src/test/scala/kamon/metric
parent66c4516fbba090733cce87ad80d327956f794fa4 (diff)
parentaca5fa2587488cbdfe4b6c774b247b0d3bd1367c (diff)
downloadKamon-977c16ce2ec1fe55248aa312f037dc411c8622bc.tar.gz
Kamon-977c16ce2ec1fe55248aa312f037dc411c8622bc.tar.bz2
Kamon-977c16ce2ec1fe55248aa312f037dc411c8622bc.zip
Merge branch 'master' of github.com:kamon-io/Kamon
Diffstat (limited to 'kamon-core/src/test/scala/kamon/metric')
-rw-r--r--kamon-core/src/test/scala/kamon/metric/instrument/HistogramSpec.scala6
1 files changed, 2 insertions, 4 deletions
diff --git a/kamon-core/src/test/scala/kamon/metric/instrument/HistogramSpec.scala b/kamon-core/src/test/scala/kamon/metric/instrument/HistogramSpec.scala
index adfcd826..dd60fee1 100644
--- a/kamon-core/src/test/scala/kamon/metric/instrument/HistogramSpec.scala
+++ b/kamon-core/src/test/scala/kamon/metric/instrument/HistogramSpec.scala
@@ -32,10 +32,8 @@ class HistogramSpec extends WordSpec with Matchers {
histogram.record(10000)
}
- "fail when recording values higher than the highest trackable value" in new HistogramFixture {
- intercept[IndexOutOfBoundsException] {
- histogram.record(1000000)
- }
+ "not fail when recording values higher than the highest trackable value" in new HistogramFixture {
+ histogram.record(Long.MaxValue)
}
"reset all recorded levels to zero after a snapshot collection" in new HistogramFixture {