[ https://issues.apache.org/jira/browse/NIFI-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike Thomsen resolved NIFI-1395. -------------------------------- Resolution: Fixed We have GitHub CI/CD builds on Windows now passing just fine, so apparently this got fixed some time ago. > Some tests fail on Windows because of expected LF line endings > -------------------------------------------------------------- > > Key: NIFI-1395 > URL: https://issues.apache.org/jira/browse/NIFI-1395 > Project: Apache NiFi > Issue Type: Bug > Environment: Windows 10 64bit > Java 1.8.0_66 > Reporter: Thad Guidry > Priority: Major > > The test Original.txt files have UNIX Linefeeds (ascii char 10), but when the > tests are run on Windows, the FlowFile created will have DOS format Carriage > Returns (ascii char 13). > {quote} > Running org.apache.nifi.processors.standard.TestConvertCharacterSet > Tests run: 4, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.163 sec <<< > FAILURE! - in org.apache.nifi.processors.standard.TestConvertCharacterSet > testExpressionLanguageOutput(org.apache.nifi.processors.standard.TestConvertCharacterSet) > Time elapsed: 0.025 sec <<< FAILURE! > java.lang.AssertionError: FlowFile content differs from input at byte 287 > with input having value 10 and FlowFile having value 13 > at > org.apache.nifi.processors.standard.TestConvertCharacterSet.testExpressionLanguageOutput(TestConvertCharacterSet.java:77) > testExpressionLanguageInput(org.apache.nifi.processors.standard.TestConvertCharacterSet) > Time elapsed: 0.015 sec <<< FAILURE! > java.lang.AssertionError: FlowFile content differs from input at byte 287 > with input having value 10 and FlowFile having value 13 > at > org.apache.nifi.processors.standard.TestConvertCharacterSet.testExpressionLanguageInput(TestConvertCharacterSet.java:61) > testSimple(org.apache.nifi.processors.standard.TestConvertCharacterSet) Time > elapsed: 0.04 sec <<< FAILURE! > java.lang.AssertionError: FlowFile content differs from input at byte 287 > with input having value 10 and FlowFile having value 13 > at > org.apache.nifi.processors.standard.TestConvertCharacterSet.testSimple(TestConvertCharacterSet.java:45) > {quote} > Additionally, org.apache.nifi.processors.standard.TestUnpackContent also has > some similar failures... > {quote} > TestUnpackContent.testFlowFileStreamV2:150 FlowFile content differs from > input at byte 20 with input having value 13 and FlowFile having value 10 > TestUnpackContent.testFlowFileStreamV3:127 FlowFile content differs from > input at byte 20 with input having value 13 and FlowFile having value 10 > TestUnpackContent.testTar:72 FlowFile content differs from input at byte 20 > with input having value 13 and FlowFile having value 10 > TestUnpackContent.testZip:104 FlowFile content differs from input at byte > 20 with input having value 13 and FlowFile having value 10 > {quote} -- This message was sent by Atlassian Jira (v8.3.4#803005)