[php-src] PHP-8.2: Improve stability of test gh13860.phpt

From: Date: Sun, 07 Apr 2024 20:50:44 +0000
Subject: [php-src] PHP-8.2: Improve stability of test gh13860.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-127975@lists.php.net to get a copy of this message
Author: Niels Dossche (nielsdos) Date: 2024-04-07T22:49:58+02:00 Commit: https://github.com/php/php-src/commit/a86256c950e2822b4cb1a15c13d61dceb4de5e3f Raw diff: https://github.com/php/php-src/commit/a86256c950e2822b4cb1a15c13d61dceb4de5e3f.diff Improve stability of test gh13860.phpt Changed paths: M ext/openssl/tests/gh13860.phpt Diff: diff --git a/ext/openssl/tests/gh13860.phpt b/ext/openssl/tests/gh13860.phpt index b915760bee59..c7c0c40a1576 100644 --- a/ext/openssl/tests/gh13860.phpt +++ b/ext/openssl/tests/gh13860.phpt @@ -21,6 +21,7 @@ $serverCode = <<<'CODE' fwrite($client, "xx"); phpt_wait(); fclose($client); + phpt_notify(); } CODE; @@ -38,6 +39,7 @@ $clientCode = <<<'CODE' while (!($in = fread($fp, 2))) { usleep(1000); } + phpt_wait(); var_dump(feof($fp)); fclose($fp); CODE;

« previous php.cvs (#127975) next »