com php-src: relax test failing in fast computer: ext/date/tests/bug73837.phpt

From: Date: Wed, 29 Mar 2017 05:01:14 +0000
Subject: com php-src: relax test failing in fast computer: ext/date/tests/bug73837.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-97432@lists.php.net to get a copy of this message
Commit: d11211fb5379324e99dc67cdd7a0ec5031874ae7 Author: Remi Collet <remi@php.net> Wed, 29 Mar 2017 07:01:14 +0200 Parents: d896878ad592335ee094f531f56673178dc2b301 Branches: PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d11211fb5379324e99dc67cdd7a0ec5031874ae7 Log: relax test failing in fast computer Changed paths: M ext/date/tests/bug73837.phpt Diff: diff --git a/ext/date/tests/bug73837.phpt b/ext/date/tests/bug73837.phpt index 220deb6..af47cfd 100644 --- a/ext/date/tests/bug73837.phpt +++ b/ext/date/tests/bug73837.phpt @@ -11,7 +11,9 @@ for ( $i = 0; $i < 1000; $i++ ) $collect[$key] = true; } -echo ( count( $collect ) > 990 ) ? "microseconds differ\n" : "microseconds do not differ enough\n"; +var_dump($n = count( $collect )); +echo ( $n > 900 ) ? "microseconds differ\n" : "microseconds do not differ enough\n"; ?> ---EXPECT-- +--EXPECTF-- +int(%d) microseconds differ

« previous php.cvs (#97432) next »