clockwork icon indicating copy to clipboard operation
clockwork copied to clipboard

Make FakeTicker synchronous

Open dbenbenn opened this issue 3 years ago • 0 comments

I'm trying to use FakeTicker to test production code that uses clockwork.Ticker. I found that my FakeTicker would "race ahead", since it doesn't block on ft.c being available to receive a tick.

I make it synchronous, and add a test case showing the behavior.

dbenbenn avatar Sep 06 '22 18:09 dbenbenn