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
fixes#5fixes#6
Fixes the mock TickerFunc to behave like the real one in that it won't run more than one callback at a time and will wait until the callback completes to return from a `Wait()` call.
The real implementation of ticker func looks like this:
This means that only one call to
t.f()
can occur at at time, no matter how long it takes. (The underlying ticker chan drops excess ticks.)In contrast, the mock implementation will run
t.f()
multiple times in parallel if you advance the clock across multiple ticks.The text was updated successfully, but these errors were encountered: