aboutsummaryrefslogtreecommitdiff
path: root/kamon-system-metrics
diff options
context:
space:
mode:
authorDiego <diegolparra@gmail.com>2014-10-20 23:19:32 -0300
committerDiego <diegolparra@gmail.com>2014-10-20 23:19:32 -0300
commit6fa0ae383c409cb8f70f57300d9ac993af5a3481 (patch)
tree52cfe6a3d39c81d4f8e1604b0b91bd631837743b /kamon-system-metrics
parent40c6f3e80b6920954003edeb29d985ad96553e21 (diff)
downloadKamon-6fa0ae383c409cb8f70f57300d9ac993af5a3481.tar.gz
Kamon-6fa0ae383c409cb8f70f57300d9ac993af5a3481.tar.bz2
Kamon-6fa0ae383c409cb8f70f57300d9ac993af5a3481.zip
+ log-reporter: introduce ContextSwitches metrics
Diffstat (limited to 'kamon-system-metrics')
-rw-r--r--kamon-system-metrics/src/test/scala/kamon/metrics/SystemMetricsSpec.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/kamon-system-metrics/src/test/scala/kamon/metrics/SystemMetricsSpec.scala b/kamon-system-metrics/src/test/scala/kamon/metrics/SystemMetricsSpec.scala
index b475a416..4f7867ed 100644
--- a/kamon-system-metrics/src/test/scala/kamon/metrics/SystemMetricsSpec.scala
+++ b/kamon-system-metrics/src/test/scala/kamon/metrics/SystemMetricsSpec.scala
@@ -234,9 +234,9 @@ class SystemMetricsSpec extends TestKitBase with WordSpecLike with Matchers {
val metricsListener = subscribeToMetrics()
val ContextSwitchesMetrics = expectContextSwitchesMetrics(metricsListener, 3 seconds)
- ContextSwitchesMetrics.perProcessVoluntary.max should be > 0L
- ContextSwitchesMetrics.perProcessNonVoluntary.max should be > 0L
- ContextSwitchesMetrics.global.max should be > 0L
+ ContextSwitchesMetrics.perProcessVoluntary.max should be >= 0L
+ ContextSwitchesMetrics.perProcessNonVoluntary.max should be >= 0L
+ ContextSwitchesMetrics.global.max should be >= 0L
}
}