You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Pierre Villard (JIRA)" <ji...@apache.org> on 2019/08/08 19:43:00 UTC

[jira] [Resolved] (NIFI-5750) Tests shouldn't rely on localized data

     [ https://issues.apache.org/jira/browse/NIFI-5750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre Villard resolved NIFI-5750.
----------------------------------
       Resolution: Duplicate
         Assignee: Jeff Storck
    Fix Version/s: 1.10.0

> Tests shouldn't rely on localized data
> --------------------------------------
>
>                 Key: NIFI-5750
>                 URL: https://issues.apache.org/jira/browse/NIFI-5750
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>    Affects Versions: 1.8.0
>         Environment: Ubuntu 18.04.1 LTS Hungarian
>            Reporter: Arpad Boda
>            Assignee: Jeff Storck
>            Priority: Major
>             Fix For: 1.10.0
>
>
> The system I used to test is Hungarian, which made NiFi tests fail due to localised data:
> _[ERROR] Tests run: 13, Failures: 6, Errors: 0, Skipped: 0, Time elapsed: 65.906 s <<< FAILURE! - in org.apache.nifi.processors.poi.ConvertExcelToCSVProcessorTest_
> _[ERROR] testSkipRows(org.apache.nifi.processors.poi.ConvertExcelToCSVProcessorTest) Time elapsed: 0.727 s <<< FAILURE!_
> _org.junit.ComparisonFailure:_ 
> _expected:<1234[.46,12:00:00 PM,£ 123.45_
> _1234.5,*+Sunday\, January+* 01\, 2017,¥ 123.45_
> _1\,234.46,1/1/17 12:00,$ 1\,023.45_
> _1\,234.4560,12:00 PM,£ 1\,023.45_
> _9.88E+08,2017/01/01/ 12:00,¥ 1\,023.45_
> _9.877E+08,,_
> _9.]8765E+08,,_
> _> but was:<1234[\,46,12:00:00 DU,£ 123\,45_
> _1234\,5,+*vasárnap\, január*+ 01\, 2017,¥ 123\,45_
> _1 234\,46,1/1/17 12:00,$ 1 023\,45_
> _1 234\,4560,12:00 DU,£ 1 023\,45_
> _9\,88E+08,2017/01/01/ 12:00,¥ 1 023\,45_
> _9\,877E+08,,_
> _9\,]8765E+08,,_
> _>_



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)