You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Chuan Liu (JIRA)" <ji...@apache.org> on 2013/10/29 01:08:31 UTC

[jira] [Created] (YARN-1358) TestYarnCLI fails on Windows due to line endings

Chuan Liu created YARN-1358:
-------------------------------

             Summary: 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
    Affects Versions: 3.0.0
            Reporter: Chuan Liu
            Assignee: Chuan Liu
            Priority: Minor


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)