Skip to content

Commit

Permalink
Improve stability of test gh13860.phpt
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsdos committed Apr 7, 2024
1 parent 2aae14c commit a86256c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/openssl/tests/gh13860.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ $serverCode = <<<'CODE'
fwrite($client, "xx");
phpt_wait();
fclose($client);
phpt_notify();
}
CODE;

Expand All @@ -38,6 +39,7 @@ $clientCode = <<<'CODE'
while (!($in = fread($fp, 2))) {
usleep(1000);
}
phpt_wait();
var_dump(feof($fp));
fclose($fp);
CODE;
Expand Down

0 comments on commit a86256c

Please sign in to comment.