From: Nuno Lopes Date: Fri, 2 Mar 2007 18:54:13 +0000 (+0000) Subject: increase the stream_select() timeout, to make the test pass in a slow machine with... X-Git-Tag: php-5.2.2RC1~245 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f1d075a1027a85a75c7ed58a5025983950ab5ced;p=php increase the stream_select() timeout, to make the test pass in a slow machine with valgrind --- diff --git a/ext/standard/tests/file/proc_open01.phpt b/ext/standard/tests/file/proc_open01.phpt index c5b0ed971b..2c211f6167 100644 --- a/ext/standard/tests/file/proc_open01.phpt +++ b/ext/standard/tests/file/proc_open01.phpt @@ -32,7 +32,7 @@ for ($left = strlen($test_string); $left > 0;) { $read_fds = array($pipes[1]); $write_fds = NULL; $exp_fds = NULL; - $retval = stream_select($read_fds, $write_fds, $exp_fds, 1); + $retval = stream_select($read_fds, $write_fds, $exp_fds, 5); if ($retval === false) { print "select() failed\n"; break;