diff options
Diffstat (limited to 'kamon-system-metrics/src/test/scala/kamon/metrics')
-rw-r--r-- | kamon-system-metrics/src/test/scala/kamon/metrics/SystemMetricsSpec.scala | 7 |
1 files changed, 6 insertions, 1 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 4f7867ed..2d140a28 100644 --- a/kamon-system-metrics/src/test/scala/kamon/metrics/SystemMetricsSpec.scala +++ b/kamon-system-metrics/src/test/scala/kamon/metrics/SystemMetricsSpec.scala @@ -64,6 +64,10 @@ class SystemMetricsSpec extends TestKitBase with WordSpecLike with Matchers { | highest-trackable-value = 999999999 | significant-value-digits = 2 | } + | stolen { + | highest-trackable-value = 999999999 + | significant-value-digits = 2 + | } | } | process-cpu { | user { @@ -162,7 +166,7 @@ class SystemMetricsSpec extends TestKitBase with WordSpecLike with Matchers { """.stripMargin)) "the Kamon CPU Metrics" should { - "record user, system, wait, idle metrics" in new CPUMetricsListenerFixture { + "record user, system, wait, idle, stolen metrics" in new CPUMetricsListenerFixture { val metricsListener = subscribeToMetrics() val CPUMetrics = expectCPUMetrics(metricsListener, 3 seconds) @@ -170,6 +174,7 @@ class SystemMetricsSpec extends TestKitBase with WordSpecLike with Matchers { CPUMetrics.system.max should be >= 0L CPUMetrics.cpuWait.max should be >= 0L CPUMetrics.idle.max should be >= 0L + CPUMetrics.stolen.max should be >= 0L } } "the Kamon GC Metrics" should { |