]> granicus.if.org Git - php/commitdiff
run a few request in this test
authorRemi Collet <remi@php.net>
Thu, 20 Nov 2014 13:45:17 +0000 (14:45 +0100)
committerRemi Collet <remi@php.net>
Thu, 20 Nov 2014 13:45:17 +0000 (14:45 +0100)
sapi/fpm/tests/015.phpt

index 00e8bf3f5f261d386712a1798040403bda59bdb9..6390037eaf93d63e66d6ea551778c8bc263de030 100644 (file)
@@ -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);