[
https://issues.apache.org/jira/browse/NIFI-5446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16654685#comment-16654685
]
ASF subversion and git services commented on NIFI-5446:
-------------------------------------------------------
Commit ec8afd18d6ae39dc1b09698fabfd1d3e7eaa70cf in nifi's branch
refs/heads/master from [~tasanuma0829]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=ec8afd1 ]
NIFI-5446: Specify the file encoding option to UTF-8 in pom.xml
This closes #2910.
Signed-off-by: Koji Kawamura <[email protected]>
> Specify the file encoding option to UTF-8 in pom.xml
> ----------------------------------------------------
>
> Key: NIFI-5446
> URL: https://issues.apache.org/jira/browse/NIFI-5446
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Takanobu Asanuma
> Assignee: Takanobu Asanuma
> Priority: Major
>
> {{TestJacksonCSVRecordReader.testUTF8}} failed in my environment (CentOS 7).
> {noformat}
> [INFO] -------------------------------------------------------
> [INFO] T E S T S
> [INFO] -------------------------------------------------------
> [INFO] Running org.apache.nifi.csv.TestJacksonCSVRecordReader
> [ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.272
> s <<< FAILURE! - in org.apache.nifi.csv.TestJacksonCSVRecordReader
> [ERROR] testUTF8(org.apache.nifi.csv.TestJacksonCSVRecordReader) Time
> elapsed: 1.007 s <<< FAILURE!
> org.junit.ComparisonFailure: expected:<[???]> but was:<[???]>
> at
> org.apache.nifi.csv.TestJacksonCSVRecordReader.testUTF8(TestJacksonCSVRecordReader.java:81)
> {noformat}
> After a bit of research, the problem seems to be same as
> [here|https://stackoverflow.com/questions/17656475/maven-source-encoding-in-utf-8-not-working].
> I specified the file-encoding option of UTF-8 in the command line arguments
> and the unit test succeeded.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)