hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14669) GenericTestUtils.waitFor should use monotonic time
Date Wed, 19 Jul 2017 15:07:00 GMT

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

Hudson commented on HADOOP-14669:
---------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #12030 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/12030/])
HADOOP-14669. GenericTestUtils.waitFor should use monotonic time. (jlowe: rev df180259b0cc3660e199e85447c7193bee51751c)
* (edit) hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/test/GenericTestUtils.java


> 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
>             Fix For: 2.9.0, 3.0.0-beta1
>
>         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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message