[
https://issues.apache.org/jira/browse/NIFI-5750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arpad Boda updated NIFI-5750:
-----------------------------
Summary: Tests shouldn't rely on localized data (was: Tests shouldn't rely
on localised data)
> 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
> Priority: Major
>
> 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.3#76005)