[Bug 1714432] Review Request: golang-github-robfig-cron - Cron library for go

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1714432



--- Comment #7 from Elliott Sales de Andrade <quantum.analyst@xxxxxxxxx> ---
If I've read the test correctly, it looks like it schedules a job for 1 second
and 2 seconds in the future (in absolute time), waits 2 seconds and checks it's
been called twice. But given a bit of jitter, this is probably a bit fragile.

Either 2 seconds is not long enough to wait (because the initial setup took a
little while so the second fire is not exactly 2 seconds later, but a smidge
longer), or the first job didn't fire (because Now() was calculated just a bit
before a rollover to the next second.) Or possibly both of these.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux