Edit report at https://bugs.php.net/bug.php?id=61517&edit=1
ID: 61517 Updated by: a...@php.net Reported by: mattfic...@php.net Summary: random test failure - ext/standard/tests/misc/time_sleep_until_basic.phpt -Status: Open +Status: Closed Type: Bug Package: Testing related Operating System: Windows PHP Version: 5.3.10 -Assigned To: +Assigned To: ab Block user comment: N Private report: N New Comment: This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2012-04-03 11:30:03] a...@php.net Automatic comment on behalf of ab Revision: http://git.php.net/?p=php-src.git;a=commit;h=36449bface319cba5dfa11348e80bf8612f25b15 Log: Fix bug #61517 random test failure - ext/standard/tests/misc/time_sleep_until_basic.phpt ------------------------------------------------------------------------ [2012-04-03 11:29:58] a...@php.net Automatic comment on behalf of ab Revision: http://git.php.net/?p=php-src.git;a=commit;h=469cd3abf131853b5c727c7ebffff84754d8383c Log: Fix bug #61517 random test failure - ext/standard/tests/misc/time_sleep_until_basic.phpt ------------------------------------------------------------------------ [2012-04-02 22:58:51] mattfic...@php.net This patch passes on PHP5.3.11rc1 on Windows 7 sp1x64. It does not break for me on Linux x64 (Gentoo and Fedora 16) with PHP5.3.11rc1. ------------------------------------------------------------------------ [2012-03-26 16:55:24] mattfic...@php.net Description: ------------ on windows, time_sleep_until() has millisecond accuracy while microtime() is accurate to 10th of a second. this means there can be up to a .9 millisecond difference which will fail this test. Expected result: ---------------- pass Actual result: -------------- randomly fails ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=61517&edit=1