diff options
Diffstat (limited to 'kamon-system-metrics/src/test')
-rw-r--r-- | kamon-system-metrics/src/test/scala/kamon/metrics/SystemMetricsSpec.scala | 4 |
1 files changed, 2 insertions, 2 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 2d140a28..058dafb4 100644 --- a/kamon-system-metrics/src/test/scala/kamon/metrics/SystemMetricsSpec.scala +++ b/kamon-system-metrics/src/test/scala/kamon/metrics/SystemMetricsSpec.scala @@ -229,8 +229,8 @@ class SystemMetricsSpec extends TestKitBase with WordSpecLike with Matchers { val metricsListener = subscribeToMetrics() val ProcessCPUMetrics = expectProcessCPUMetrics(metricsListener, 3 seconds) - ProcessCPUMetrics.cpuPercent.max should be > 0L - ProcessCPUMetrics.totalProcessTime.max should be > 0L + ProcessCPUMetrics.cpuPercent.max should be >= 0L + ProcessCPUMetrics.totalProcessTime.max should be >= 0L } } |