From: Jakub Zelenka Date: Mon, 20 Mar 2017 16:07:12 +0000 (+0000) Subject: Lower timeout in test for but #72333 X-Git-Tag: php-7.0.18RC1~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6d066dc421e839027805da63aa66d2db892fe386;p=php Lower timeout in test for but #72333 --- diff --git a/ext/openssl/tests/bug72333.phpt b/ext/openssl/tests/bug72333.phpt index fac59853f9..a7b1c93b15 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;