From 6d066dc421e839027805da63aa66d2db892fe386 Mon Sep 17 00:00:00 2001 From: Jakub Zelenka Date: Mon, 20 Mar 2017 16:07:12 +0000 Subject: Lower timeout in test for but #72333 --- ext/openssl/tests/bug72333.phpt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- cgit v1.2.1