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 "Karthik Kambatla (JIRA)" <ji...@apache.org> on 2017/03/24 21:04:41 UTC

[jira] [Comment Edited] (YARN-6359) TestRM#testApplicationKillAtAcceptedState fails rarely due to race condition

    [ https://issues.apache.org/jira/browse/YARN-6359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15941129#comment-15941129 ] 

Karthik Kambatla edited comment on YARN-6359 at 3/24/17 9:04 PM:
-----------------------------------------------------------------

Nit: I think we use 100 ms retry in other places; maybe we should use the same? 


was (Author: kasha):
Nit: I think we use 100 ms in other places; maybe we should use the same? 

> TestRM#testApplicationKillAtAcceptedState fails rarely due to race condition
> ----------------------------------------------------------------------------
>
>                 Key: YARN-6359
>                 URL: https://issues.apache.org/jira/browse/YARN-6359
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.9.0, 3.0.0-alpha3
>            Reporter: Robert Kanter
>            Assignee: Robert Kanter
>         Attachments: YARN-6359.001.patch, YARN-6359.002.patch
>
>
> We've seen (very rarely) a test failure in {{TestRM#testApplicationKillAtAcceptedState}}
> {noformat}
> java.lang.AssertionError: expected:<1> but was:<0>
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.failNotEquals(Assert.java:743)
> 	at org.junit.Assert.assertEquals(Assert.java:118)
> 	at org.junit.Assert.assertEquals(Assert.java:555)
> 	at org.junit.Assert.assertEquals(Assert.java:542)
> 	at org.apache.hadoop.yarn.server.resourcemanager.TestRM.testApplicationKillAtAcceptedState(TestRM.java:645)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org