com php-src: More tolerance in another IntlCalendar test: ext/intl/tests/calendar_createInstance_basic.phpt

From: Date: Sat, 23 Jul 2016 22:15:14 +0000
Subject: com php-src: More tolerance in another IntlCalendar test: ext/intl/tests/calendar_createInstance_basic.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-93359@lists.php.net to get a copy of this message
Commit: 04b42b1e056c839cec29f7958e04e0990420b589 Author: Nikita Popov <nikic@php.net> Sun, 24 Jul 2016 00:13:42 +0200 Parents: 80fee637f41484e0ec17ae7a46e7105cb950ded5 Branches: PHP-5.6 PHP-7.0 PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=04b42b1e056c839cec29f7958e04e0990420b589 Log: More tolerance in another IntlCalendar test Again, off-by-1000 is expected if we're late in the second. Add an extra 1000 to account for actual delta in call times. Changed paths: M ext/intl/tests/calendar_createInstance_basic..phpt Diff: diff --git a/ext/intl/tests/calendar_createInstance_basic.phpt b/ext/intl/tests/calendar_createInstance_basic.phpt index e062030..426cc8b 100644 --- a/ext/intl/tests/calendar_createInstance_basic.phpt +++ b/ext/intl/tests/calendar_createInstance_basic.phpt @@ -23,7 +23,7 @@ echo "\n"; $timeMillis = $cal->getTime(); $time = time(); -var_dump(abs($timeMillis - $time * 1000) < 1000); +var_dump(abs($timeMillis - $time * 1000) < 2000); ?> ==DONE==

« previous php.cvs (#93359) next »