run a few request in this test

This commit is contained in:
Remi Collet 2014-11-20 14:45:17 +01:00
parent e25b23d1c9
commit 7ef559ff80

View 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);