Closed Suckzoo closed 3 years ago
It seems there is an issue related with common concurrency problem (e.g. deadlock?) Mostly it succeeds, but it fails sometimes on local development environment in two ways:
test_timer_leak_nocancel
assert spawn_count == done_count # e.g. 9 == 8
test_timer_cancel
Now it's resolved using v1.0's timer.VirtualClock applied to the test suite.
timer.VirtualClock
It seems there is an issue related with common concurrency problem (e.g. deadlock?) Mostly it succeeds, but it fails sometimes on local development environment in two ways:
test_timer_leak_nocancel
, it returns wrong result in this linetest_timer_cancel
, it does not halt sometimes.