1
0
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:
Niklas Keller 2017-05-02 21:51:52 +02:00
parent e00ab0db75
commit 8d9219bf92

View File

@ -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();