com php-src: relax test failing in fast computer: ext/date/tests/bug73837.phpt
| From: | Joe Watkins | Date: | Wed, 29 Mar 2017 06:54:32 +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-97437@lists.php.net to get a copy of this message | ||
Commit: f6a7f18597af8a9fd53a98a2372ab8a340621ea0
Author: Remi Collet <remi@php.net> Wed, 29 Mar 2017 07:01:14 +0200
Committer: Joe Watkins <krakjoe@php.net> Wed, 29 Mar 2017 07:54:32 +0100
Parents: 7335437a836cad5121c5e50f4b22c1b10522856f
Branches: PHP-7.1.4
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f6a7f18597af8a9fd53a98a2372ab8a340621ea0
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