From 896f7533ee2c376927c991c12abd2646a401eff5 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Tue, 7 Jan 2020 14:24:55 +0100 Subject: Increase sleep() time in test case Apparently, the former increase to `sleep(2)` helped somewhat, but still the test fails occassionally. --- ext/standard/tests/streams/bug78883.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/standard/tests/streams') 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, -- cgit v1.2.1