From: Christoph M. Becker Date: Tue, 7 Jan 2020 13:24:55 +0000 (+0100) Subject: Increase sleep() time in test case X-Git-Tag: php-7.4.7RC1~328 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=896f7533ee2c376927c991c12abd2646a401eff5;p=php Increase sleep() time in test case Apparently, the former increase to `sleep(2)` helped somewhat, but still the test fails occassionally. --- diff --git a/ext/standard/tests/streams/bug78883.phpt b/ext/standard/tests/streams/bug78883.phpt index 72380ddbd3..469a422d36 100644 --- a/ext/standard/tests/streams/bug78883.phpt +++ b/ext/standard/tests/streams/bug78883.phpt @@ -17,7 +17,7 @@ $cmd = 'cmd.exe "/c START ^"^" /WAIT ' . PHP_BINARY . ' -r ^"var_dump(fgets(STDI $proc = proc_open($cmd, $descriptorspec, $pipes); var_dump(is_resource($proc)); $pid = proc_get_status($proc)['pid']; -sleep(2); +sleep(3); $bug_is_present = !proc_get_status($proc)['running']; if (!$bug_is_present) { // if the bug is not present, it will hang waiting for stdin,