Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
3.0.0-alpha4
-
Reviewed
Description
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.
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-14713 Audit for durations that should be measured via Time.monotonicNow
- Open
- relates to
-
HADOOP-14637 GenericTestUtils.waitFor needs to check condition again after max wait time
- Resolved