Fix transient tests
This commit is contained in:
parent
b1f11b04d1
commit
676b8080a5
@ -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);
|
||||
|
||||
|
@ -89,6 +89,6 @@ DUMP
|
||||
'VAR_DUMPER_SERVER' => self::VAR_DUMPER_SERVER,
|
||||
]);
|
||||
|
||||
return $process->setTimeout(9);
|
||||
return $process->setTimeout('\\' === \DIRECTORY_SEPARATOR ? 19 : 9);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user