mirror of
https://github.com/danog/amp.git
synced 2025-01-22 13:21:16 +01:00
Increase testNestedLoopSignalDispatch timeouts
This commit is contained in:
parent
4fe48c8aec
commit
a289e7e41d
@ -1060,7 +1060,7 @@ abstract class DriverTest extends TestCase {
|
||||
|
||||
$this->expectOutputString("inner SIGUSR2\nouter SIGUSR1\n");
|
||||
$this->start(function (Driver $loop) {
|
||||
$loop->delay($msDelay = 30, function () use ($loop) {
|
||||
$loop->delay($msDelay = 300, function () use ($loop) {
|
||||
$loop->stop();
|
||||
});
|
||||
$loop->onSignal(SIGUSR1, function () use ($loop) {
|
||||
@ -1071,7 +1071,7 @@ abstract class DriverTest extends TestCase {
|
||||
$loop->delay($msDelay = 1, function () {
|
||||
/** @var Driver $loop */
|
||||
$loop = ($this->getFactory())();
|
||||
$stop = $loop->delay($msDelay = 10, function () use ($loop) {
|
||||
$stop = $loop->delay($msDelay = 100, function () use ($loop) {
|
||||
echo "ERROR: manual stop";
|
||||
$loop->stop();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user