[
https://issues.apache.org/jira/browse/NIFI-6592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16916755#comment-16916755
]
Alessandro D'Armiento commented on NIFI-6592:
---------------------------------------------
Hello, I took a look at the actual code implementation and I found out what you
are pointing out has already been resolved with #6529
Quoting [~a.stock] commit message:
bq. NIFI-6529 Updated TestFormatUtils.testFormatDataSize to use
DecimalFormatSymbols when verifying results of FormatUtils.formatDataSize
NIFI-6529 Updated tests that fail with non en_US locales Signed-off-by: Pierre
Villard <[email protected]> This closes #3639.
> Test fails for nifi-media-processors when decimals-separator != .
> -----------------------------------------------------------------
>
> Key: NIFI-6592
> URL: https://issues.apache.org/jira/browse/NIFI-6592
> Project: Apache NiFi
> Issue Type: Test
> Components: Extensions
> Affects Versions: 1.9.2
> Environment: macOS 10.14.6
> Reporter: H.Verweij
> Priority: Trivial
> Labels: test
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> When building Nifi it fais a test in the nifi-media-processors component:
> [*ERROR*]
> testExtractPNG(org.apache.nifi.processors.image.ExtractImageMetadataTest)
> Time elapsed: 0.014 s <<< FAILURE!
> org.junit.ComparisonFailure: expected:<0[.]455> but was:<0[,]455>
> at
> org.apache.nifi.processors.image.ExtractImageMetadataTest.testExtractPNG(ExtractImageMetadataTest.java:96)
>
> It's trivial to fix, just make English the primary language, but perhaps the
> test can be more robust.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)