mirror of
https://github.com/danog/amp.git
synced 2024-11-30 04:29:08 +01:00
Increase timer delay and defer in testMultipleWatchersOnSameDescriptor
This commit is contained in:
parent
e00ab0db75
commit
8d9219bf92
@ -1396,9 +1396,11 @@ abstract class DriverTest extends TestCase {
|
||||
$this->loop->disable($watcher);
|
||||
});
|
||||
|
||||
$this->loop->delay(100, function () use ($watcher1, $watcher3) {
|
||||
$this->loop->enable($watcher1);
|
||||
$this->loop->enable($watcher3);
|
||||
$this->loop->defer(function () {
|
||||
$this->loop->delay(200, function () use ($watcher1, $watcher3) {
|
||||
$this->loop->enable($watcher1);
|
||||
$this->loop->enable($watcher3);
|
||||
});
|
||||
});
|
||||
|
||||
$this->loop->run();
|
||||
|
Loading…
Reference in New Issue
Block a user