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

Fix locale-dependent failing unit tests

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • 1.10.0
    • Tools and Build
    • None

    Description

      Some tests are failing based on the locale.

      Example:

      [ERROR] Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.004 s <<< FAILURE! - in org.apache.nifi.processor.TestFormatUtils [ERROR] testFormatDataSize(org.apache.nifi.processor.TestFormatUtils)  Time elapsed: 0.004 s  <<< FAILURE! org.junit.ComparisonFailure: expected:<10[.]4 bytes> but was:<10[,]4 bytes> at org.apache.nifi.processor.TestFormatUtils.testFormatDataSize(TestFormatUtils.java:91)
      

      Attachments

        Issue Links

          Activity

            People

              pvillard Pierre Villard
              pvillard Pierre Villard
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: