Edit report at https://bugs.php.net/bug.php?id=61517&edit=1

 ID:                 61517
 Comment by:         mattfic...@php.net
 Reported by:        mattfic...@php.net
 Summary:            random test failure -
                     ext/standard/tests/misc/time_sleep_until_basic.phpt
 Status:             Open
 Type:               Bug
 Package:            Testing related
 Operating System:   Windows
 PHP Version:        5.3.10
 Block user comment: N
 Private report:     N

 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------
[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

Reply via email to