summaryrefslogtreecommitdiff
path: root/Zend/tests/concat_003.phpt
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2016-12-21 21:27:47 +0100
committerNikita Popov <nikic@php.net>2016-12-21 21:27:47 +0100
commitc41826d1e626962621805eab650b1fcc2f1f49d8 (patch)
tree57cf8f3cbd8e9d2c93f07554245d01e91acad1ee /Zend/tests/concat_003.phpt
parent5733fd1cafe8d0e2306626c525ad081b7ee30d96 (diff)
downloadphp-git-c41826d1e626962621805eab650b1fcc2f1f49d8.tar.gz
Increase timing quota for small string concat test
Test is regularly failing on Travis.
Diffstat (limited to 'Zend/tests/concat_003.phpt')
-rw-r--r--Zend/tests/concat_003.phpt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/tests/concat_003.phpt b/Zend/tests/concat_003.phpt
index 07fabd1113..53d8d2f9a4 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)
{