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 "Gergely Novák (JIRA)" <ji...@apache.org> on 2016/11/15 10:14:58 UTC

[jira] [Commented] (YARN-5875) TestTokenClientRMService#testTokenRenewalWrongUser fails on trunk

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

Gergely Novák commented on YARN-5875:
-------------------------------------

This test fails because HADOOP-13720 changed the exception message. Attached patch with assert to the updated message.

> TestTokenClientRMService#testTokenRenewalWrongUser fails on trunk
> -----------------------------------------------------------------
>
>                 Key: YARN-5875
>                 URL: https://issues.apache.org/jira/browse/YARN-5875
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Varun Saxena
>            Assignee: Gergely Novák
>         Attachments: YARN-5875.001.patch
>
>
> {noformat}
> Running org.apache.hadoop.yarn.server.resourcemanager.TestTokenClientRMService
> Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.983 sec <<< FAILURE! - in org.apache.hadoop.yarn.server.resourcemanager.TestTokenClientRMService
> testTokenRenewalWrongUser(org.apache.hadoop.yarn.server.resourcemanager.TestTokenClientRMService)  Time elapsed: 0.015 sec  <<< FAILURE!
> java.lang.AssertionError: null
> 	at org.junit.Assert.fail(Assert.java:86)
> 	at org.junit.Assert.assertTrue(Assert.java:41)
> 	at org.junit.Assert.assertTrue(Assert.java:52)
> 	at org.apache.hadoop.yarn.server.resourcemanager.TestTokenClientRMService$3.run(TestTokenClientRMService.java:125)
> 	at org.apache.hadoop.yarn.server.resourcemanager.TestTokenClientRMService$3.run(TestTokenClientRMService.java:118)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at javax.security.auth.Subject.doAs(Subject.java:422)
> 	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1857)
> 	at org.apache.hadoop.yarn.server.resourcemanager.TestTokenClientRMService.testTokenRenewalWrongUser(TestTokenClientRMService.java:118)
> Results :
> Failed tests: 
>   TestTokenClientRMService.testTokenRenewalWrongUser:118 null
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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