From c41826d1e626962621805eab650b1fcc2f1f49d8 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 21 Dec 2016 21:27:47 +0100 Subject: [PATCH] Increase timing quota for small string concat test Test is regularly failing on Travis. --- Zend/tests/concat_003.phpt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Zend/tests/concat_003.phpt b/Zend/tests/concat_003.phpt index 07fabd11139..53d8d2f9a4b 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) {