mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
Fix test race condition
Closes GH-14790
This commit is contained in:
parent
cd67080236
commit
070779c874
@ -18,8 +18,8 @@ $serverCode = <<<'CODE'
|
|||||||
|
|
||||||
$client = @stream_socket_accept($server);
|
$client = @stream_socket_accept($server);
|
||||||
if ($client) {
|
if ($client) {
|
||||||
fwrite($client, "xx");
|
|
||||||
phpt_wait();
|
phpt_wait();
|
||||||
|
fwrite($client, "xx");
|
||||||
fclose($client);
|
fclose($client);
|
||||||
phpt_notify();
|
phpt_notify();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user