Skip to content

Commit 460e2e6

Browse files
committed
Fixed test in some cases(for more children, needs more time)
1 parent f122cc2 commit 460e2e6

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

sapi/fpm/tests/010.phpt

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,8 @@ error_log = $logfile
1616
[unconfined]
1717
listen = 127.0.0.1:$port
1818
pm.status_path = /status
19-
pm = dynamic
20-
pm.max_children = 5
21-
pm.start_servers = 2
22-
pm.min_spare_servers = 1
23-
pm.max_spare_servers = 3
19+
pm = static
20+
pm.max_children = 1
2421
EOT;
2522

2623
$fpm = run_fpm($cfg, $tail);
@@ -59,16 +56,16 @@ Cache-Control: %s
5956
Content-type: text/plain%s
6057

6158
pool: unconfined
62-
process manager: dynamic
59+
process manager: static
6360
start time: %s
6461
start since: %d
6562
accepted conn: 1
6663
listen queue: 0
6764
max listen queue: 0
6865
listen queue len: %d
69-
idle processes: 1
66+
idle processes: 0
7067
active processes: 1
71-
total processes: 2
68+
total processes: 1
7269
max active processes: 1
7370
max children reached: 0
7471
slow requests: 0

0 commit comments

Comments
 (0)