You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Daniel Stieglitz (Jira)" <ji...@apache.org> on 2025/12/10 22:17:00 UTC
[jira] [Comment Edited] (NIFI-15327) Re-enable TestSiteToSiteMetricsReportingTask to run on Windows
[ https://issues.apache.org/jira/browse/NIFI-15327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18044275#comment-18044275 ]
Daniel Stieglitz edited comment on NIFI-15327 at 12/10/25 10:16 PM:
--------------------------------------------------------------------
was (Author: JIRAUSER294662):
Currently TestSiteToSiteMetricsReportingTask is disabled when running on Windows.
When removing the annotation
{code:java}
@DisabledOnOs(OS.WINDOWS){code}
the following stack trace results on the Windows build:
{code:java}
Error: org.apache.nifi.reporting.TestSiteToSiteMetricsReportingTask.testRecordFormat -- Time elapsed: 0.518 s <<< ERROR! java.lang.NumberFormatException: Character N is neither a decimal digit number, decimal point, nor "e" notation exponential mark. at java.base/java.math.BigDecimal.<init>(BigDecimal.java:608) at java.base/java.math.BigDecimal.<init>(BigDecimal.java:497) at java.base/java.math.BigDecimal.<init>(BigDecimal.java:903) at java.base/java.math.BigDecimal.valueOf(BigDecimal.java:1371) at org.eclipse.parsson.JsonNumberImpl.getJsonNumber(JsonNumberImpl.java:56) at org.eclipse.parsson.JsonObjectBuilderImpl.add(JsonObjectBuilderImpl.java:118) at org.apache.nifi.reporting.util.metrics.MetricsService.getMetrics(MetricsService.java:231) at org.apache.nifi.reporting.SiteToSiteMetricsReportingTask.onTrigger(SiteToSiteMetricsReportingTask.java:187) at org.apache.nifi.reporting.TestSiteToSiteMetricsReportingTask.testRecordFormat(TestSiteToSiteMetricsReportingTask.java:271){code}
The aim of this ticket is to fix the underlying issue so the test can be re-enabled on Windows.
> Re-enable TestSiteToSiteMetricsReportingTask to run on Windows
> --------------------------------------------------------------
>
> Key: NIFI-15327
> URL: https://issues.apache.org/jira/browse/NIFI-15327
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)