We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f106f57 + 5036c29 commit e75aa7eCopy full SHA for e75aa7e
sapi/fpm/tests/bug77934-reload-process-control.phpt
@@ -14,6 +14,8 @@ pid = {{FILE:PID}}
14
process_control_timeout=20
15
[unconfined]
16
listen = {{ADDR}}
17
+ping.path = /ping
18
+ping.response = pong
19
pm = dynamic
20
pm.max_children = 5
21
pm.start_servers = 1
@@ -24,11 +26,13 @@ EOT;
24
26
$tester = new FPM\Tester($cfg);
25
27
$tester->start();
28
$tester->expectLogStartNotices();
29
+$tester->ping('{{ADDR}}');
30
$tester->signal('USR2');
31
$tester->expectLogNotice('Reloading in progress ...');
32
$tester->expectLogNotice('reloading: .*');
33
$tester->expectLogNotice('using inherited socket fd=\d+, "127.0.0.1:\d+"');
34
35
36
$tester->terminate();
37
$tester->expectLogTerminatingNotices();
38
$tester->close();
0 commit comments