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

Test fails for nifi-media-processors when decimals-separator != .

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Trivial
    • Resolution: Duplicate
    • 1.9.2
    • 1.10.0
    • Extensions
    • macOS 10.14.6

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              patchy-xs H.Verweij
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified