Tcl Library Source Code

View Ticket
Login
Ticket UUID: 9a38890c98231ce1ee8ec21c28b0d5b99b42ca02
Title: cron's self-tests may fail sometimes
Type: Bug Version: 1.17
Submitter: mi Created on: 2015-05-27 21:02:24
Subsystem: cron Assigned To: hypnotoad
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2015-05-27 21:08:52
Resolution: None Closed By: nobody
    Closed on:
Description:
Due to, I suppose, rounding errors the cron's wait may exit after 10 instead of 11 seconds, for example, leading to a spurious test-failure. These are hard to reproduce, but they do appear some times...

Perhaps, the tests need to be rewritten to allow a range of expectations -- instead of the solid 11, for example, allow 10, 11, and 12 as acceptable values.