Skip to content

Commit e75aa7e

Browse files
committed
Merge branch 'PHP-7.4'
2 parents f106f57 + 5036c29 commit e75aa7e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sapi/fpm/tests/bug77934-reload-process-control.phpt

+4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ pid = {{FILE:PID}}
1414
process_control_timeout=20
1515
[unconfined]
1616
listen = {{ADDR}}
17+
ping.path = /ping
18+
ping.response = pong
1719
pm = dynamic
1820
pm.max_children = 5
1921
pm.start_servers = 1
@@ -24,11 +26,13 @@ EOT;
2426
$tester = new FPM\Tester($cfg);
2527
$tester->start();
2628
$tester->expectLogStartNotices();
29+
$tester->ping('{{ADDR}}');
2730
$tester->signal('USR2');
2831
$tester->expectLogNotice('Reloading in progress ...');
2932
$tester->expectLogNotice('reloading: .*');
3033
$tester->expectLogNotice('using inherited socket fd=\d+, "127.0.0.1:\d+"');
3134
$tester->expectLogStartNotices();
35+
$tester->ping('{{ADDR}}');
3236
$tester->terminate();
3337
$tester->expectLogTerminatingNotices();
3438
$tester->close();

0 commit comments

Comments
 (0)