You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Run the unittests in NCrontab 0.2 without debugger attached.
2. DontLoppIndefinitely will fail.
Expected results:
DontLoppIndefinitely test should pass
Actual results:
The test fails with the message "The test did not complete in the allocated time".
Suggested fix:
Issue is in NCrontab.Tests.CrontabSchduleTests:256:
if (worker.Join(!Debugger.IsAttached ? limit.Milliseconds : Timeout.Infinite))
since Milliseconds only contains the fractional number of milliseconds (< 1000). You
would probably want something like:
if (worker.Join(!Debugger.IsAttached ? (int)limit.TotalMilliseconds : Timeout.Infinite))
Reported by teh.ekik on 2010-08-11 21:28:29
The text was updated successfully, but these errors were encountered:
Sorry about this, didn't notice that google code by default didn't show all issues.
I can see that this has already been fixed.
Thank you for a nicely written crontab parser!
Originally reported on Google Code with ID 4
Reported by
teh.ekik
on 2010-08-11 21:28:29The text was updated successfully, but these errors were encountered: