[
https://issues.apache.org/jira/browse/YARN-1358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13809651#comment-13809651
]
Hudson commented on YARN-1358:
------------------------------
SUCCESS: Integrated in Hadoop-trunk-Commit #4676 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/4676/])
YARN-1358. TestYarnCLI fails on Windows due to line endings. Contributed by
Chuan Liu. (cnauroth:
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1537305)
* /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt
*
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/cli/TestYarnCLI.java
> TestYarnCLI fails on Windows due to line endings
> ------------------------------------------------
>
> Key: YARN-1358
> URL: https://issues.apache.org/jira/browse/YARN-1358
> Project: Hadoop YARN
> Issue Type: Test
> Components: client
> Affects Versions: 3.0.0, 2.2.0
> Reporter: Chuan Liu
> Assignee: Chuan Liu
> Priority: Minor
> Fix For: 3.0.0, 2.2.1
>
> Attachments: YARN-1358.2.patch, YARN-1358.patch
>
>
> The unit test fails on Windows due to incorrect line endings was used for
> comparing the output from command line output. Error messages are as follows.
> {noformat}
> junit.framework.ComparisonFailure: expected:<...argument for options[]
> usage: application
> ...> but was:<...argument for options[
> ]
> usage: application
> ...>
> at junit.framework.Assert.assertEquals(Assert.java:85)
> at junit.framework.Assert.assertEquals(Assert.java:91)
> at
> org.apache.hadoop.yarn.client.cli.TestYarnCLI.testMissingArguments(TestYarnCLI.java:878)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.1#6144)