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
There is a possibility that a registered timer callback will never be called, and this can happen if context switching between threads occurs in a certain way.
Reproduction Steps
Please use the following snippet to reproduce the problem.
Description
There is a possibility that a registered timer callback will never be called, and this can happen if context switching between threads occurs in a certain way.
Reproduction Steps
Please use the following snippet to reproduce the problem.
Important: Please add some kind of delay to the FakeTimeProvider before the following line of code to emulate context switching.
Expected behavior
The timer callback should be triggered, and the message 'waiter-1' should be printed to the console.
Actual behavior
Despite making 5 calls to advance the clock by 10 seconds, the timer callback has not been called.
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: