com php-src: Lower timeout in test for but #72333: ext/openssl/tests/bug72333.phpt
[email protected] (Jakub Zelenka)
| Newsgroups | php.cvs |
|---|---|
| Message-ID | <[email protected]> |
Commit: 6d066dc421e839027805da63aa66d2db892fe386 Author: Jakub Zelenka <[email protected]> Mon, 20 Mar 2017 16:07:12 +0000 Parents: 2e8308260513015dbf80ff0239eca79dbca4f36e Branches: PHP-7.0 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6d066dc421e839027805da63aa66d2db892fe386 Log: Lower timeout in test for but #72333 Bugs: https://bugs.php.net/72333 Changed paths: M ext/openssl/tests/bug72333.phpt Diff: diff --git a/ext/openssl/tests/bug72333.phpt b/ext/openssl/tests/bug72333.phpt index fac5985..a7b1c93 100644 --- a/ext/openssl/tests/bug72333.phpt +++ b/ext/openssl/tests/bug72333.phpt @@ -19,7 +19,7 @@ $serverCode = <<<'CODE' stream_set_blocking($conn, false); usleep(50000); $read = [$conn]; - while (stream_select($read, $write, $except, 180)) { + while (stream_select($read, $write, $except, 1)) { $result = fread($conn, 100000); if (!$result) { break; @@ -42,7 +42,7 @@ $clientCode = <<<'CODE' function blocking_fwrite($fp, $buf) { $write = [$fp]; $total = 0; - while (stream_select($read, $write, $except, 180)) { + while (stream_select($read, $write, $except, 1)) { $result = fwrite($fp, $buf); if (!$result) { break;