diff options
author | Ivan Topolnjak <ivantopo@gmail.com> | 2014-07-04 11:41:21 -0300 |
---|---|---|
committer | Ivan Topolnjak <ivantopo@gmail.com> | 2014-07-04 11:41:21 -0300 |
commit | abaebea16ae227929d826059be39d95cd7247baf (patch) | |
tree | 0503a758acd464da02ac22ef608f76194326d0ec /kamon-core | |
parent | 3ae632dea4dd208ba22e56510c51ab222ea89148 (diff) | |
download | Kamon-abaebea16ae227929d826059be39d95cd7247baf.tar.gz Kamon-abaebea16ae227929d826059be39d95cd7247baf.tar.bz2 Kamon-abaebea16ae227929d826059be39d95cd7247baf.zip |
= core: ensure that no automatic metric flushes occur during certain tests
Diffstat (limited to 'kamon-core')
5 files changed, 9 insertions, 0 deletions
diff --git a/kamon-core/src/test/scala/kamon/metric/ActorMetricsSpec.scala b/kamon-core/src/test/scala/kamon/metric/ActorMetricsSpec.scala index 481f03c5..a05dc344 100644 --- a/kamon-core/src/test/scala/kamon/metric/ActorMetricsSpec.scala +++ b/kamon-core/src/test/scala/kamon/metric/ActorMetricsSpec.scala @@ -32,6 +32,9 @@ class ActorMetricsSpec extends TestKitBase with WordSpecLike with Matchers with implicit lazy val system: ActorSystem = ActorSystem("actor-metrics-spec", ConfigFactory.parseString( """ |kamon.metrics { + | tick-interval = 1 hour + | default-collection-context-buffer-size = 10 + | | filters = [ | { | actor { diff --git a/kamon-core/src/test/scala/kamon/metric/DispatcherMetricsSpec.scala b/kamon-core/src/test/scala/kamon/metric/DispatcherMetricsSpec.scala index 7434c4ee..ae324b73 100644 --- a/kamon-core/src/test/scala/kamon/metric/DispatcherMetricsSpec.scala +++ b/kamon-core/src/test/scala/kamon/metric/DispatcherMetricsSpec.scala @@ -28,6 +28,9 @@ class DispatcherMetricsSpec extends TestKitBase with WordSpecLike with Matchers implicit lazy val system: ActorSystem = ActorSystem("dispatcher-metrics-spec", ConfigFactory.parseString( """ |kamon.metrics { + | tick-interval = 1 second + | default-collection-context-buffer-size = 10 + | | filters = [ | { | dispatcher { diff --git a/kamon-core/src/test/scala/kamon/metric/TickMetricSnapshotBufferSpec.scala b/kamon-core/src/test/scala/kamon/metric/TickMetricSnapshotBufferSpec.scala index 0af1ae85..79c9c63b 100644 --- a/kamon-core/src/test/scala/kamon/metric/TickMetricSnapshotBufferSpec.scala +++ b/kamon-core/src/test/scala/kamon/metric/TickMetricSnapshotBufferSpec.scala @@ -32,6 +32,7 @@ class TickMetricSnapshotBufferSpec extends TestKitBase with WordSpecLike with Ma |kamon.metrics { | tick-interval = 1 hour | default-collection-context-buffer-size = 10 + | | filters = [ | { | trace { diff --git a/kamon-core/src/test/scala/kamon/metric/TraceMetricsSpec.scala b/kamon-core/src/test/scala/kamon/metric/TraceMetricsSpec.scala index 39eaaf9e..8a87408d 100644 --- a/kamon-core/src/test/scala/kamon/metric/TraceMetricsSpec.scala +++ b/kamon-core/src/test/scala/kamon/metric/TraceMetricsSpec.scala @@ -15,6 +15,7 @@ class TraceMetricsSpec extends TestKitBase with WordSpecLike with Matchers with |kamon.metrics { | tick-interval = 1 hour | default-collection-context-buffer-size = 10 + | | filters = [ | { | trace { diff --git a/kamon-core/src/test/scala/kamon/metric/UserMetricsSpec.scala b/kamon-core/src/test/scala/kamon/metric/UserMetricsSpec.scala index 00a933f1..1790dc51 100644 --- a/kamon-core/src/test/scala/kamon/metric/UserMetricsSpec.scala +++ b/kamon-core/src/test/scala/kamon/metric/UserMetricsSpec.scala @@ -16,6 +16,7 @@ class UserMetricsSpec extends TestKitBase with WordSpecLike with Matchers with I |kamon.metrics { | flush-interval = 1 hour | default-collection-context-buffer-size = 10 + | | precision { | default-histogram-precision { | highest-trackable-value = 10000 |