summaryrefslogtreecommitdiff
path: root/sapi
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2015-05-07 19:25:04 +0800
committerXinchen Hui <laruence@php.net>2015-05-07 19:25:04 +0800
commit460e2e6a04ebdd3914bbea449323187684532c84 (patch)
treec0e3e8289984c9635a7711b75fa7023004ae903c /sapi
parentf122cc257c4c1fc99bad819a7c504bab7989a1eb (diff)
downloadphp-git-460e2e6a04ebdd3914bbea449323187684532c84.tar.gz
Fixed test in some cases(for more children, needs more time)
Diffstat (limited to 'sapi')
-rw-r--r--sapi/fpm/tests/010.phpt13
1 files changed, 5 insertions, 8 deletions
diff --git a/sapi/fpm/tests/010.phpt b/sapi/fpm/tests/010.phpt
index 37c778db5b..f3b768f319 100644
--- a/sapi/fpm/tests/010.phpt
+++ b/sapi/fpm/tests/010.phpt
@@ -16,11 +16,8 @@ error_log = $logfile
[unconfined]
listen = 127.0.0.1:$port
pm.status_path = /status
-pm = dynamic
-pm.max_children = 5
-pm.start_servers = 2
-pm.min_spare_servers = 1
-pm.max_spare_servers = 3
+pm = static
+pm.max_children = 1
EOT;
$fpm = run_fpm($cfg, $tail);
@@ -59,16 +56,16 @@ Cache-Control: %s
Content-type: text/plain%s
pool: unconfined
-process manager: dynamic
+process manager: static
start time: %s
start since: %d
accepted conn: 1
listen queue: 0
max listen queue: 0
listen queue len: %d
-idle processes: 1
+idle processes: 0
active processes: 1
-total processes: 2
+total processes: 1
max active processes: 1
max children reached: 0
slow requests: 0