summaryrefslogtreecommitdiff
path: root/sapi/fpm/tests/004.phpt
diff options
context:
space:
mode:
authorMitch Hagstrand <mhagstrand@gmail.com>2017-01-12 22:09:46 -0800
committerJoe Watkins <krakjoe@php.net>2017-01-13 06:45:04 +0000
commitfd92b911888f482d8d5794e6abac41bdff9ad3a2 (patch)
tree2a7e64b0e02428d9a61c47b5e1018574b452371a /sapi/fpm/tests/004.phpt
parent04379bcb1df25a9f9cc1d440f5c12105b9fbaf97 (diff)
downloadphp-git-fd92b911888f482d8d5794e6abac41bdff9ad3a2.tar.gz
Increase wait time for tests involving sockets to improve Travis relability
1. Increased sleep time from 25ms to 50ms 2. Added sleep to shutdown handlers
Diffstat (limited to 'sapi/fpm/tests/004.phpt')
-rw-r--r--sapi/fpm/tests/004.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/fpm/tests/004.phpt b/sapi/fpm/tests/004.phpt
index 0b58a6d360..4375f8d0d0 100644
--- a/sapi/fpm/tests/004.phpt
+++ b/sapi/fpm/tests/004.phpt
@@ -30,14 +30,14 @@ if (is_resource($fpm)) {
fpm_display_log($tail, 2);
$i = 0;
while (($i++ < 60) && !($fp = @fsockopen('127.0.0.1', $port))) {
- usleep(25000);
+ usleep(50000);
}
if ($fp) {
echo "Done IPv4\n";
fclose($fp);
}
while (($i++ < 60) && !($fp = @fsockopen('[::1]', $port))) {
- usleep(25000);
+ usleep(50000);
}
if ($fp) {
echo "Done IPv6\n";