Skip to content

Commit fc6e83e

Browse files
committed
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.
1 parent 40b2f82 commit fc6e83e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/tests/streams/bug78883.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ $cmd = 'cmd.exe "/c START ^"^" /WAIT ' . PHP_BINARY . ' -r ^"var_dump(fgets(STDI
1717
$proc = proc_open($cmd, $descriptorspec, $pipes);
1818
var_dump(is_resource($proc));
1919
$pid = proc_get_status($proc)['pid'];
20-
sleep(1);
20+
sleep(2);
2121
$bug_is_present = !proc_get_status($proc)['running'];
2222
if (!$bug_is_present) {
2323
// if the bug is not present, it will hang waiting for stdin,

0 commit comments

Comments
 (0)