Open Brinenas opened 3 months ago
Add a new UT, If you comment the add code, the ut will failed.
Thanks for submitting this. Can you add an integration-level test showing the behavior fix from the API consumer perspective?
Add a new UT for my own case. Maybe you guys can add a more elegant test.
@Brinenas a couple issues I see:
fast.running
and fast.start
are protected by fast.mu
for read/write, so we can't access them without getting the lockI did a couple other small tweaks to the test as well. Let me know if you see any issues with my change.
fix Timeout Error issue: when the fastclock stop running, then next matches will get a wrong fast.current and daeline, thus trigger an incorrect timeout error.