You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Erik Krogen (JIRA)" <ji...@apache.org> on 2017/09/01 20:21:00 UTC
[jira] [Commented] (HADOOP-14827) Allow StopWatch to accept a Timer
parameter for tests
[ https://issues.apache.org/jira/browse/HADOOP-14827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16151091#comment-16151091 ]
Erik Krogen commented on HADOOP-14827:
--------------------------------------
I particularly want this to be able to create a reliable unit test for HDFS-12323.
> Allow StopWatch to accept a Timer parameter for tests
> -----------------------------------------------------
>
> Key: HADOOP-14827
> URL: https://issues.apache.org/jira/browse/HADOOP-14827
> Project: Hadoop Common
> Issue Type: Improvement
> Components: common, test
> Reporter: Erik Krogen
> Assignee: Erik Krogen
> Priority: Minor
>
> {{StopWatch}} should accept a {{Timer}} parameter rather than directly using {{Time}} so that its behavior can be controlled during tests.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org