mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
[skip ci] Increase tolerance for cve-2014-3538 tests
These regularly fail with "Failed, time=1.5x".
This commit is contained in:
parent
3fdd3ed9f7
commit
b5081339e9
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ $t = microtime(true);
|
|||
var_dump(finfo_file($fi, $fd));
|
||||
$t = microtime(true) - $t;
|
||||
finfo_close($fi);
|
||||
if ($t < 1.5) {
|
||||
if ($t < 2) {
|
||||
echo "Ok\n";
|
||||
} else {
|
||||
printf("Failed, time=%.2f\n", $t);
|
||||
|
|
|
@ -22,7 +22,7 @@ $t = microtime(true);
|
|||
var_dump(finfo_file($fi, $fd));
|
||||
$t = microtime(true) - $t;
|
||||
finfo_close($fi);
|
||||
if ($t < 1.5) {
|
||||
if ($t < 2) {
|
||||
echo "Ok\n";
|
||||
} else {
|
||||
printf("Failed, time=%.2f\n", $t);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue