Fix transient tests

This commit is contained in:
Jérémy Derussé 2020-10-25 20:35:54 +01:00
parent b1f11b04d1
commit 676b8080a5
No known key found for this signature in database
GPG Key ID: 2083FA5758C473D2
2 changed files with 4 additions and 1 deletions

View File

@ -161,6 +161,9 @@ class AmqpExtIntegrationTest extends TestCase
$signalTime = microtime(true);
$timedOutTime = time() + 10;
// wait for worker started and registered the signal handler
usleep(100 * 1000); // 100ms
// immediately after the process has started "booted", kill it
$process->signal(15);

View File

@ -89,6 +89,6 @@ DUMP
'VAR_DUMPER_SERVER' => self::VAR_DUMPER_SERVER,
]);
return $process->setTimeout(9);
return $process->setTimeout('\\' === \DIRECTORY_SEPARATOR ? 19 : 9);
}
}