summaryrefslogtreecommitdiff
path: root/ext/standard/tests/streams
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-01-07 14:24:55 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2020-01-07 14:26:31 +0100
commit896f7533ee2c376927c991c12abd2646a401eff5 (patch)
treebdb597da1f2ef20c233f3c3c45f0e5a4c1ec1dd3 /ext/standard/tests/streams
parent1eb2379aa379303fec1d3fbc72dd0fa4839efbb5 (diff)
downloadphp-git-896f7533ee2c376927c991c12abd2646a401eff5.tar.gz
Increase sleep() time in test case
Apparently, the former increase to `sleep(2)` helped somewhat, but still the test fails occassionally.
Diffstat (limited to 'ext/standard/tests/streams')
-rw-r--r--ext/standard/tests/streams/bug78883.phpt2
1 files changed, 1 insertions, 1 deletions
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,