[
https://issues.apache.org/jira/browse/NIFI-8355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Villard resolved NIFI-8355.
----------------------------------
Resolution: Feedback Received
Apache NiFi 1.x is no longer maintained and no new release is planned on the
1.x release line. Marking as resolved as part of a cleanup operation. Please
open a new one with an updated description if this is still relevant for NiFi
2.x.
> 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
> Assignee: Noble Numbat
> Priority: Minor
> Labels: jvm, metrics, testing
>
> 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.20.10#820010)