Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
-
Windows 10 64bit
Java 1.8.0_66
Description
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).
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)
Additionally, org.apache.nifi.processors.standard.TestUnpackContent also has some similar failures...
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
Attachments
Issue Links
- is related to
-
NIFI-1655 create .gitattributes
- Resolved