Chris Nauroth created HDFS-5409:
-----------------------------------
Summary: TestOfflineEditsViewer#testStored fails on Windows due to
CRLF line endings in editsStored.xml from git checkout
Key: HDFS-5409
URL: https://issues.apache.org/jira/browse/HDFS-5409
Project: Hadoop HDFS
Issue Type: Test
Components: test
Affects Versions: 2.2.0, 3.0.0
Reporter: Chris Nauroth
When doing a git checkout on Windows,
hadoop-hdfs-project/hadoop-hdfs/src/test/resources/editsStored.xml has CRLF
line endings. The offline edits viewer tool generates XML output with LF line
endings. This causes {{TestOfflineEditsViewer#testStored}} to fail when
asserting that editsStored.xml and editsStoredParsed.xml have the same content.
--
This message was sent by Atlassian JIRA
(v6.1#6144)