Skip to content

Commit c41826d

Browse files
committed
Increase timing quota for small string concat test
Test is regularly failing on Travis.
1 parent 5733fd1 commit c41826d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Zend/tests/concat_003.phpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ memory_limit=256m
1313
$time = microtime(TRUE);
1414

1515
/* This might vary on Linux/Windows, so the worst case and also count in slow machines. */
16-
$t0_max = 0.1;
17-
$t1_max = 0.4;
16+
$t0_max = 0.3;
17+
$t1_max = 1.0;
1818

1919
$datas = [];
2020
for ($i = 0; $i < 220000; $i++)
@@ -34,7 +34,7 @@ for ($i = 0; $i < 220000; $i++)
3434
$t0 = microtime(TRUE) - $time;
3535
var_dump($t0 < $t0_max);
3636

37-
37+
$time = microtime(TRUE);
3838
$texts = '';
3939
foreach ($datas AS $data)
4040
{

0 commit comments

Comments
 (0)