hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lowe (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-14669) GenericTestUtils.waitFor should use monotonic time
Date Tue, 18 Jul 2017 21:38:00 GMT
Jason Lowe created HADOOP-14669:

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

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

To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org

View raw message