Takanobu Asanuma created NIFI-5446: -------------------------------------- Summary: 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
{{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)