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 "Daniel Templeton (JIRA)" <ji...@apache.org> on 2017/07/18 23:43:00 UTC

[jira] [Updated] (HADOOP-14669) GenericTestUtils.waitFor should use monotonic time

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

Daniel Templeton updated HADOOP-14669:
--------------------------------------
    Attachment: HADOOP-14669.001.patch

> GenericTestUtils.waitFor should use monotonic time
> --------------------------------------------------
>
>                 Key: HADOOP-14669
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14669
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 3.0.0-alpha4
>            Reporter: Jason Lowe
>            Priority: Trivial
>              Labels: newbie
>         Attachments: HADOOP-14669.001.patch
>
>
> GenericTestUtils.waitFor should be calling Time.monotonicNow rather than Time.now.  Otherwise if the system clock adjusts during unit testing the timeout period could be incorrect.



--
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