From: Remi Collet Date: Wed, 29 Mar 2017 05:01:14 +0000 (+0200) Subject: relax test failing in fast computer X-Git-Tag: php-7.1.5RC1~84 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d11211fb5379324e99dc67cdd7a0ec5031874ae7;p=php relax test failing in fast computer --- diff --git a/ext/date/tests/bug73837.phpt b/ext/date/tests/bug73837.phpt index 220deb6121..af47cfd7ab 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