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 00:26:31 UTC

[jira] [Updated] (YARN-1357) TestContainerLaunch.testContainerEnvVariables fails on Windows

     [ https://issues.apache.org/jira/browse/YARN-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chuan Liu updated YARN-1357:
----------------------------

    Attachment: YARN-1357.patch

Posting a patch. The fix is just using correct syntax for Windows script.

> TestContainerLaunch.testContainerEnvVariables fails on Windows
> --------------------------------------------------------------
>
>                 Key: YARN-1357
>                 URL: https://issues.apache.org/jira/browse/YARN-1357
>             Project: Hadoop YARN
>          Issue Type: Test
>            Reporter: Chuan Liu
>            Assignee: Chuan Liu
>            Priority: Minor
>         Attachments: YARN-1357.patch
>
>
> This test fails on Windows due to incorrect use of batch script command. Error messages are as follows.
> {noformat}
> junit.framework.AssertionFailedError: expected:<java.nio.HeapByteBuffer[pos=0 lim=19 cap=19]> but was:<java.nio.HeapByteBuffer[pos=0 lim=19 cap=19]>
> 	at junit.framework.Assert.fail(Assert.java:50)
> 	at junit.framework.Assert.failNotEquals(Assert.java:287)
> 	at junit.framework.Assert.assertEquals(Assert.java:67)
> 	at junit.framework.Assert.assertEquals(Assert.java:74)
> 	at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.TestContainerLaunch.testContainerEnvVariables(TestContainerLaunch.java:508)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1#6144)