summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2017-07-12 14:38:12 +0200
committerAnatol Belski <ab@php.net>2017-07-12 14:38:12 +0200
commit04cc2f6473e8439929ba8448f038058d5e20ba86 (patch)
treea87ef486be23872d2b154588a868080c06104c49
parent3bcab3174920f5f416b735948b9d943f2f83dfdb (diff)
downloadphp-git-04cc2f6473e8439929ba8448f038058d5e20ba86.tar.gz
increase poll timeout as false positives mitigation
-rw-r--r--ext/mysqli/tests/mysqli_reap_async_query.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/tests/mysqli_reap_async_query.phpt b/ext/mysqli/tests/mysqli_reap_async_query.phpt
index e3858e6172..3f3bce3292 100644
--- a/ext/mysqli/tests/mysqli_reap_async_query.phpt
+++ b/ext/mysqli/tests/mysqli_reap_async_query.phpt
@@ -38,7 +38,7 @@ if (!$IS_MYSQLND)
function poll_async($offset, $link, $links, $errors, $reject, $exp_ready, $use_oo_syntax) {
- if ($exp_ready !== ($tmp = mysqli_poll($links, $errors, $reject, 0, 1000)))
+ if ($exp_ready !== ($tmp = mysqli_poll($links, $errors, $reject, 0, 2000)))
printf("[%03d + 1] There should be %d links ready to read from, %d ready\n",
$offset, $exp_ready, $tmp);