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

Jason Lowe commented on HADOOP-14669:
-------------------------------------

+1 lgtm.  Test failures are unrelated.  Committing this.

> 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
>            Assignee: Daniel Templeton
>            Priority: Trivial
>              Labels: newbie
>         Attachments: HADOOP-14669.001.patch, HADOOP-14669.002.patch, 
> HADOOP-14669.003.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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to