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

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)

and

Running org.apache.nifi.processors.standard.TestEvaluateXQuery
Tests run: 21, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 0.72 sec <<< 
FAILURE! - in org.apache.nifi.processors.standard.TestEvaluateXQuery
testRootPath(org.apache.nifi.processors.standard.TestEvaluateXQuery)  Time 
elapsed: 0.01 sec  <<< FAILURE!
org.junit.ComparisonFailure:
expected:<...href="foo.xsl"?><!--[
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at
      http://www.apache.org/licenses/LICENSE-2.0
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
] limitations under the License.
--><ns:fruitbasket ...> but was:<...href="foo.xsl"?><!--[
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at
      http://www.apache.org/licenses/LICENSE-2.0
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.]
--><ns:fruitbasket ...>
        at 
org.apache.nifi.processors.standard.TestEvaluateXQuery.testRootPath(TestEvaluateXQuery.java:387)

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

and

Running org.apache.nifi.processors.standard.TestEvaluateXQuery
Tests run: 21, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 0.72 sec <<< 
FAILURE! - in org.apache.nifi.processors.standard.TestEvaluateXQuery
testRootPath(org.apache.nifi.processors.standard.TestEvaluateXQuery)  Time 
elapsed: 0.01 sec  <<< FAILURE!
org.junit.ComparisonFailure:
expected:<...href="foo.xsl"?><!--[
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at
      http://www.apache.org/licenses/LICENSE-2.0
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
] limitations under the License.
--><ns:fruitbasket ...> but was:<...href="foo.xsl"?><!--[
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at
      http://www.apache.org/licenses/LICENSE-2.0
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.]
--><ns:fruitbasket ...>
        at 
org.apache.nifi.processors.standard.TestEvaluateXQuery.testRootPath(TestEvaluateXQuery.java:387)


> 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).
> 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)
> and
> Running org.apache.nifi.processors.standard.TestEvaluateXQuery
> Tests run: 21, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 0.72 sec <<< 
> FAILURE! - in org.apache.nifi.processors.standard.TestEvaluateXQuery
> testRootPath(org.apache.nifi.processors.standard.TestEvaluateXQuery)  Time 
> elapsed: 0.01 sec  <<< FAILURE!
> org.junit.ComparisonFailure:
> expected:<...href="foo.xsl"?><!--[
>   Licensed to the Apache Software Foundation (ASF) under one or more
>   contributor license agreements.  See the NOTICE file distributed with
>   this work for additional information regarding copyright ownership.
>   The ASF licenses this file to You under the Apache License, Version 2.0
>   (the "License"); you may not use this file except in compliance with
>   the License.  You may obtain a copy of the License at
>       http://www.apache.org/licenses/LICENSE-2.0
>   Unless required by applicable law or agreed to in writing, software
>   distributed under the License is distributed on an "AS IS" BASIS,
>   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>   See the License for the specific language governing permissions and
> ] limitations under the License.
> --><ns:fruitbasket ...> but was:<...href="foo.xsl"?><!--[
>   Licensed to the Apache Software Foundation (ASF) under one or more
>   contributor license agreements.  See the NOTICE file distributed with
>   this work for additional information regarding copyright ownership.
>   The ASF licenses this file to You under the Apache License, Version 2.0
>   (the "License"); you may not use this file except in compliance with
>   the License.  You may obtain a copy of the License at
>       http://www.apache.org/licenses/LICENSE-2.0
>   Unless required by applicable law or agreed to in writing, software
>   distributed under the License is distributed on an "AS IS" BASIS,
>   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>   See the License for the specific language governing permissions and
>   limitations under the License.]
> --><ns:fruitbasket ...>
>         at 
> org.apache.nifi.processors.standard.TestEvaluateXQuery.testRootPath(TestEvaluateXQuery.java:387)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to