-
-
Notifications
You must be signed in to change notification settings - Fork 262
Enforce timer interval as minimum time to execution #319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
$this->assertNotSame(0, $invoked); | ||
|
||
$this->assertGreaterThan(1000, $invoked - $start); | ||
$this->assertLessThan(1100, $invoked - $start); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is currently expected to fail, because watchers are only activated in the next tick.
Watchers are only activated on next tick.
I'm running into this issue on symfony/symfony#37136. |
I had a closer look and this relates to the The fix could be to set |
Like everything shutdown related, this depends on destruction order and appears to only happen on 7.4+.
* origin/test-failures: Fix expected output Add failing tests # Conf 8000 licts: # test/Loop/DriverTest.php
Relates to symfony/symfony#36960.