Skip to content

Commit af7445b

Browse files
committed
Try to fix intermittent failures of stream_server_reneg_limit.phpt on macos
Make sure the server has started up before we try to connect to it.
1 parent 65f14b0 commit af7445b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/openssl/tests/stream_server_reneg_limit.phpt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ CODE;
7070
$serverCode = sprintf($serverCode, $certFile);
7171

7272
$clientCode = <<<'CODE'
73+
phpt_wait();
74+
7375
$cmd = 'openssl s_client -connect 127.0.0.1:64321';
7476
$descriptorSpec = [["pipe", "r"], ["pipe", "w"], ["pipe", "w"]];
7577
$process = proc_open($cmd, $descriptorSpec, $pipes);

0 commit comments

Comments
 (0)