]> granicus.if.org Git - php/commitdiff
Increase sleep() time in test case
authorChristoph M. Becker <cmbecker69@gmx.de>
Tue, 7 Jan 2020 13:24:55 +0000 (14:24 +0100)
committerChristoph M. Becker <cmbecker69@gmx.de>
Tue, 7 Jan 2020 13:26:31 +0000 (14:26 +0100)
Apparently, the former increase to `sleep(2)` helped somewhat, but
still the test fails occassionally.

ext/standard/tests/streams/bug78883.phpt

index 72380ddbd3e855fecb24e615c28d4e78aaab1b0e..469a422d3687d7ed7230e4a3d7a5565d2e339232 100644 (file)
@@ -17,7 +17,7 @@ $cmd = 'cmd.exe "/c START ^"^" /WAIT ' . PHP_BINARY . ' -r ^"var_dump(fgets(STDI
 $proc = proc_open($cmd, $descriptorspec, $pipes);\r
 var_dump(is_resource($proc));\r
 $pid = proc_get_status($proc)['pid'];\r
-sleep(2);\r
+sleep(3);\r
 $bug_is_present = !proc_get_status($proc)['running'];\r
 if (!$bug_is_present) {\r
        // if the bug is not present, it will hang waiting for stdin,\r