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 Pollak (Jira)" <ji...@apache.org> on 2021/03/05 14:50:00 UTC

[jira] [Commented] (YARN-10676) Improve code quality in TestTimelineAuthenticationFilterForV1

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

Gergely Pollak commented on YARN-10676:
---------------------------------------

[~snemeth] thank you for the patch, LGTM+1 (Non-binding)

> Improve code quality in TestTimelineAuthenticationFilterForV1
> -------------------------------------------------------------
>
>                 Key: YARN-10676
>                 URL: https://issues.apache.org/jira/browse/YARN-10676
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Szilard Nemeth
>            Assignee: Szilard Nemeth
>            Priority: Minor
>         Attachments: YARN-10676.001.patch
>
>
> - In testcase "testDelegationTokenOperations", the exception message is checked but in case it does not match the assertion, the exception is not printed. This happens 3 times.
> - Assertion messages can be added
> - Fields called "httpSpnegoKeytabFile" and "httpSpnegoPrincipal" can be static final.
> - There's a typo in comment "avaiable" (happens 2 times)
> - There are some Assert.fail() calls, without messages.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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