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