aboutsummaryrefslogtreecommitdiff
path: root/kamon-core/src/test
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
commitcfcc2c6cb620073f30dd63a8b9906b91cec0d781 (patch)
tree02efa332e9cabbbd88203dd145f5073bbee31cf4 /kamon-core/src/test
parentf4ee68b0db65e9b8940237d53b1cfde54d43531c (diff)
parent4f5bc3c5bbcddf3ea88f2573bc8021c0afd88999 (diff)
downloadKamon-cfcc2c6cb620073f30dd63a8b9906b91cec0d781.tar.gz
Kamon-cfcc2c6cb620073f30dd63a8b9906b91cec0d781.tar.bz2
Kamon-cfcc2c6cb620073f30dd63a8b9906b91cec0d781.zip
Merge branch 'master' of github.com:kamon-io/Kamon
Diffstat (limited to 'kamon-core/src/test')
-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 {