You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Chris Trezzo (JIRA)" <ji...@apache.org> on 2016/12/14 18:28:58 UTC

[jira] [Created] (YARN-6004) Refactor TestResourceLocalizationService#testDownloadingResourcesOnContainer so that it is less than 150 lines

Chris Trezzo created YARN-6004:
----------------------------------

             Summary: Refactor TestResourceLocalizationService#testDownloadingResourcesOnContainer so that it is less than 150 lines
                 Key: YARN-6004
                 URL: https://issues.apache.org/jira/browse/YARN-6004
             Project: Hadoop YARN
          Issue Type: Bug
          Components: test
            Reporter: Chris Trezzo
            Priority: Trivial


The TestResourceLocalizationService#testDownloadingResourcesOnContainerKill method is over 150 lines:
bq. ./hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/localizer/TestResourceLocalizationService.java:1128: @Test(timeout = 20000):3: Method length is 242 lines (max allowed is 150).

This method needs to be refactored and broken up into smaller methods.



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

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