diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-01-03 16:44:53 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-01-03 16:44:53 +0100 |
commit | fc6e83e01a187d48a54fd821e0cc2aad1dcfeab5 (patch) | |
tree | c7193f374b27977b16dcbb57b6baa4fd3077de97 | |
parent | 40b2f82380d508e22d50a97a6af4c04b7c04ed86 (diff) | |
download | php-git-fc6e83e01a187d48a54fd821e0cc2aad1dcfeab5.tar.gz |
Try to fix intermittently failing test case
This test fails intermittently due to taskill reporting failure to kill
the process (because it already has been terminated). We increase the
sleep time, to hopefully prevent that from happening again.
-rw-r--r-- | ext/standard/tests/streams/bug78883.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/tests/streams/bug78883.phpt b/ext/standard/tests/streams/bug78883.phpt index 2dc1bc7d95..72380ddbd3 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(1);
+sleep(2);
$bug_is_present = !proc_get_status($proc)['running'];
if (!$bug_is_present) {
// if the bug is not present, it will hang waiting for stdin,
|