diff options
author | Mitch Hagstrand <mhagstrand@gmail.com> | 2017-01-12 22:09:46 -0800 |
---|---|---|
committer | Joe Watkins <krakjoe@php.net> | 2017-01-13 06:45:04 +0000 |
commit | fd92b911888f482d8d5794e6abac41bdff9ad3a2 (patch) | |
tree | 2a7e64b0e02428d9a61c47b5e1018574b452371a /sapi/fpm/tests/004.phpt | |
parent | 04379bcb1df25a9f9cc1d440f5c12105b9fbaf97 (diff) | |
download | php-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.phpt | 4 |
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"; |