Chris Nauroth created HADOOP-8948: ------------------------------------- Summary: TestFileUtil.testGetDU fails on Windows due to incorrect assumption of line separator Key: HADOOP-8948 URL: https://issues.apache.org/jira/browse/HADOOP-8948 Project: Hadoop Common Issue Type: Bug Components: test Affects Versions: 3.0.0, trunk-win Reporter: Chris Nauroth Assignee: Chris Nauroth
The test asserts 8 bytes of disk usage, based on 2 files, each containing a single line of 3 characters followed by line terminator. This is fine for Unix line endings (1 additional byte) but incorrect for Windows line endings (2 additional bytes). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira