From a86256c950e2822b4cb1a15c13d61dceb4de5e3f Mon Sep 17 00:00:00 2001 From: Niels Dossche <7771979+nielsdos@users.noreply.github.com> Date: Sun, 7 Apr 2024 22:28:23 +0200 Subject: [PATCH] Improve stability of test gh13860.phpt --- ext/openssl/tests/gh13860.phpt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/openssl/tests/gh13860.phpt b/ext/openssl/tests/gh13860.phpt index b915760bee592..c7c0c40a15760 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;