com php-src: increase poll timeout as false positives mitigation: ext/mysqli/tests/mysqli_reap_async_query.phpt
| From: | Anatol Belski | Date: | Wed, 12 Jul 2017 12:38:12 +0000 |
| Subject: | com php-src: increase poll timeout as false positives mitigation: ext/mysqli/tests/mysqli_reap_async_query.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-98531@lists.php.net to get a copy of this message | ||
Commit: 04cc2f6473e8439929ba8448f038058d5e20ba86
Author: Anatol Belski <ab@php.net> Wed, 12 Jul 2017 14:38:12 +0200
Parents: 3bcab3174920f5f416b735948b9d943f2f83dfdb
Branches: PHP-7.0 PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=04cc2f6473e8439929ba8448f038058d5e20ba86
Log:
increase poll timeout as false positives mitigation
Changed paths:
M ext/mysqli/tests/mysqli_reap_async_query.phpt
Diff:
diff --git a/ext/mysqli/tests/mysqli_reap_async_query.phpt
b/ext/mysqli/tests/mysqli_reap_async_query.phpt
index e3858e6..3f3bce3 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);