com php-src: Increase timing quota for small string concat test: Zend/tests/concat_003.phpt

From: Date: Wed, 21 Dec 2016 20:27:47 +0000
Subject: com php-src: Increase timing quota for small string concat test: Zend/tests/concat_003.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-96409@lists.php.net to get a copy of this message
Commit: c41826d1e626962621805eab650b1fcc2f1f49d8 Author: Nikita Popov <nikic@php.net> Wed, 21 Dec 2016 21:27:47 +0100 Parents: 5733fd1cafe8d0e2306626c525ad081b7ee30d96 Branches: PHP-7.0 PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c41826d1e626962621805eab650b1fcc2f1f49d8 Log: Increase timing quota for small string concat test Test is regularly failing on Travis. Changed paths: M Zend/tests/concat_003.phpt Diff: diff --git a/Zend/tests/concat_003.phpt b/Zend/tests/concat_003.phpt index 07fabd1..53d8d2f 100644 --- a/Zend/tests/concat_003.phpt +++ b/Zend/tests/concat_003.phpt @@ -13,8 +13,8 @@ memory_limit=256m $time = microtime(TRUE); /* This might vary on Linux/Windows, so the worst case and also count in slow machines. */ -$t0_max = 0.1; -$t1_max = 0.4; +$t0_max = 0.3; +$t1_max = 1.0; $datas = []; for ($i = 0; $i < 220000; $i++) @@ -34,7 +34,7 @@ for ($i = 0; $i < 220000; $i++) $t0 = microtime(TRUE) - $time; var_dump($t0 < $t0_max); - +$time = microtime(TRUE); $texts = ''; foreach ($datas AS $data) {

« previous php.cvs (#96409) next »