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 "Anubhav Dhoot (JIRA)" <ji...@apache.org> on 2015/02/25 11:00:14 UTC

[jira] [Updated] (YARN-3256) TestClientToAMToken#testClientTokenRace is not running against all Schedulers even when using ParameterizedSchedulerTestBase

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

Anubhav Dhoot updated YARN-3256:
--------------------------------
    Attachment: YARN-3256.001.patch

Fix that removes the local conf object hiding the base class conf. This allows it to use the right conf for the matching scheduler based on ParametrizedTestBase

> TestClientToAMToken#testClientTokenRace is not running against all Schedulers even when using ParameterizedSchedulerTestBase
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-3256
>                 URL: https://issues.apache.org/jira/browse/YARN-3256
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Anubhav Dhoot
>            Assignee: Anubhav Dhoot
>         Attachments: YARN-3256.001.patch
>
>
> The test testClientTokenRace was not using the base class conf causing it to run twice on the same Scheduler configured in the default.
> All tests deriving from ParameterizedSchedulerTestBase should use the conf created in the base class instead of newing up inside the test and hiding the member. 



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