com php-src: run a few request in this test: sapi/fpm/tests/015.phpt
| From: | Remi Collet | Date: | Thu, 20 Nov 2014 13:45:17 +0000 |
| Subject: | com php-src: run a few request in this test: sapi/fpm/tests/015.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-83188@lists.php.net to get a copy of this message | ||
Commit: 7ef559ff8038807156b01408bd215af7983adc5d
Author: Remi Collet <remi@php.net> Thu, 20 Nov 2014 14:45:17 +0100
Parents: e25b23d1c9f4d0eef08268516a31efa5e0a8aa31
Branches: PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7ef559ff8038807156b01408bd215af7983adc5d
Log:
run a few request in this test
Changed paths:
M sapi/fpm/tests/015.phpt
Diff:
diff --git a/sapi/fpm/tests/015.phpt b/sapi/fpm/tests/015.phpt
index 00e8bf3..6390037 100644
--- a/sapi/fpm/tests/015.phpt
+++ b/sapi/fpm/tests/015.phpt
@@ -36,6 +36,13 @@ if (is_resource($fpm)) {
echo "Started\n";
fclose($fp);
}
+ for ($i=0 ; $i<10 ; $i++) {
+ try {
+ run_request('127.0.0.1', $port);
+ } catch (Exception $e) {
+ echo "Error\n";
+ }
+ }
proc_terminate($fpm);
if (!feof($tail)) {
echo stream_get_contents($tail);