Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-5750

Tests shouldn't rely on localized data

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.8.0
    • 1.10.0
    • Core Framework
    • None
    • Ubuntu 18.04.1 LTS Hungarian

    Description

      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,,
      >

      Attachments

        Issue Links

          Activity

            People

              jtstorck Jeff Storck
              aboda Arpad Boda
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: