Noble Numbat created NIFI-8355:
----------------------------------
Summary: JVM metrics testing fails a valid state
Key: NIFI-8355
URL: https://issues.apache.org/jira/browse/NIFI-8355
Project: Apache NiFi
Issue Type: Bug
Affects Versions: 1.14.0
Reporter: Noble Numbat
Testing of the jvm metrics in the 'def "Get numeric metric for #metricName via
method #methodName"()' method in
JmxJvmMetricsSpec.groovy includes an explicit test that the metrics values
should not equal -1.
This test should be removed as -1 is a valid state for the "init" and "max"
metrics when they are undefined.
The test for exceptions being thrown will catch the other metrics if they
return a -1 value.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)