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

Anubhav Dhoot commented on YARN-1287:
-------------------------------------

Could we combine this functionality into ControlledClock? They are almost the 
same except for the tick functionality which would be added in to 
ControlledClock. [~sandyr] [~swong15]. Looks like the namespace of 
ControlledClock has been fixed since the patch was uploaded.


> Consolidate MockClocks
> ----------------------
>
>                 Key: YARN-1287
>                 URL: https://issues.apache.org/jira/browse/YARN-1287
>             Project: Hadoop YARN
>          Issue Type: Improvement
>            Reporter: Sandy Ryza
>            Assignee: Sebastian Wong
>              Labels: BB2015-05-TBR, newbie
>         Attachments: YARN-1287-3.patch
>
>
> A bunch of different tests have near-identical implementations of MockClock.  
> TestFairScheduler, TestFSSchedulerApp, and TestCgroupsLCEResourcesHandler for 
> example.  They should be consolidated into a single MockClock.



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

Reply via email to