[
https://issues.apache.org/jira/browse/HDFS-9362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Nauroth updated HDFS-9362:
--------------------------------
Attachment: HDFS-9362.001.patch
Here is a patch that changes the asserts to be platform-neutral in the line
endings. I have verified this on both Mac and Windows. [~xyao], would you
mind reviewing? Thank you!
> TestAuditLogger#testAuditLoggerWithCallContext assumes Unix line endings,
> fails on Windows.
> -------------------------------------------------------------------------------------------
>
> Key: HDFS-9362
> URL: https://issues.apache.org/jira/browse/HDFS-9362
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: test
> Reporter: Chris Nauroth
> Assignee: Chris Nauroth
> Priority: Minor
> Attachments: HDFS-9362.001.patch
>
>
> {{TestAuditLogger#testAuditLoggerWithCallContext}} was added recently to
> exercise the new audit logging with caller context functionality. The tests
> assume Unix line endings by hard-coding "\n" in asserts. These tests fail on
> Windows.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)