[ 
https://issues.apache.org/jira/browse/NIFI-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thad Guidry updated NIFI-1395:
------------------------------
    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).

{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}

  was:
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


> CharacterSet Conversion tests fail build on Windows 10
> ------------------------------------------------------
>
>                 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
>
> 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
(v6.3.4#6332)

Reply via email to