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
According to the golang documentation for time.Sleep, when passed a zero or negative duration, the function returns immediately.
FakeClock correctly handles a zero duration, but ends up blocking for negative durations, thus requiring the clock to be advanced by zero to unblock the sleeper (which should never have been blocked to begin with).
The text was updated successfully, but these errors were encountered:
According to the golang documentation for time.Sleep, when passed a zero or negative duration, the function returns immediately.
FakeClock correctly handles a zero duration, but ends up blocking for negative durations, thus requiring the clock to be advanced by zero to unblock the sleeper (which should never have been blocked to begin with).
The text was updated successfully, but these errors were encountered: