You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Thad Guidry (JIRA)" <ji...@apache.org> on 2016/02/03 04:41:39 UTC

[jira] [Commented] (NIFI-1395) CharacterSet Conversion tests fail build on Windows 10

    [ https://issues.apache.org/jira/browse/NIFI-1395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15129733#comment-15129733 ] 

Thad Guidry commented on NIFI-1395:
-----------------------------------

This also happens on all the kite processor tests as well:
{quote}
Running org.apache.nifi.processors.kite.TestInferAvroSchema
Tests run: 5, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 0.196 sec <<< FA                                             ILURE! - in org.apache.nifi.processors.kite.TestInferAvroSchema
inferAvroSchemaFromHeaderDefinitionOfCSVFile(org.apache.nifi.processors.kite.Tes                                             tInferAvroSchema)  Time elapsed: 0.015 sec  <<< FAILURE!
java.lang.AssertionError: FlowFile content differs from input at byte 1 with inp                                             ut having value 10 and FlowFile having value 13
        at org.junit.Assert.fail(Assert.java:88)
        at org.apache.nifi.util.MockFlowFile.assertContentEquals(MockFlowFile.ja                                             va:253)
        at org.apache.nifi.util.MockFlowFile.assertContentEquals(MockFlowFile.ja                                             va:205)
        at org.apache.nifi.processors.kite.TestInferAvroSchema.inferAvroSchemaFr                                             omHeaderDefinitionOfCSVFile(TestInferAvroSchema.java:77)
{quote}

> 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)