Bug #61517 [Opn->Csd]: random test failure - ext/standard/tests/misc/time_sleep_until_basic.phpt
| From: | ab@php.net | Date: | Tue, 03 Apr 2012 11:36:48 +0000 |
| Subject: | Bug #61517 [Opn->Csd]: random test failure - ext/standard/tests/misc/time_sleep_until_basic.phpt | ||
| References: | 1 | Groups: | php.bugs php.qa |
| Request: | Send a blank email to php-bugs+get-169187@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61517&edit=1
ID: 61517
Updated by: ab@php.net
Reported by: mattficken@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] ab@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] ab@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] mattficken@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] mattficken@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