com php-src: Add ping to the fpm test for bug #77934: sapi/fpm/tests/bug77934-reload-process-control.phpt

From: Date: Mon, 13 May 2019 17:50:24 +0000
Subject: com php-src: Add ping to the fpm test for bug #77934: sapi/fpm/tests/bug77934-reload-process-control.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-106167@lists.php.net to get a copy of this message
Commit: ad63bd169bd82347acd24e69fec500589f185272 Author: Jakub Zelenka <bukka@php.net> Mon, 13 May 2019 18:47:43 +0100 Parents: b6b15fc65cc7898bc1ea992ec607ddb7f94e8eb8 Branches: PHP-7.2 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ad63bd169bd82347acd24e69fec500589f185272 Log: Add ping to the fpm test for bug #77934 Bugs: https://bugs.php.net/77934 Changed paths: M sapi/fpm/tests/bug77934-reload-process-control.phpt Diff: diff --git a/sapi/fpm/tests/bug77934-reload-process-control.phpt b/sapi/fpm/tests/bug77934-reload-process-control.phpt index d223403..e7da044 100644 --- a/sapi/fpm/tests/bug77934-reload-process-control.phpt +++ b/sapi/fpm/tests/bug77934-reload-process-control.phpt @@ -14,6 +14,8 @@ pid = {{FILE:PID}} process_control_timeout=20 [unconfined] listen = {{ADDR}} +ping.path = /ping +ping.response = pong pm = dynamic pm.max_children = 5 pm.start_servers = 1 @@ -24,11 +26,13 @@ EOT; $tester = new FPM\Tester($cfg); $tester->start(); $tester->expectLogStartNotices(); +$tester->ping('{{ADDR}}'); $tester->signal('USR2'); $tester->expectLogNotice('Reloading in progress ...'); $tester->expectLogNotice('reloading: .*'); $tester->expectLogNotice('using inherited socket fd=\d+, "127.0.0.1:\d+"'); $tester->expectLogStartNotices(); +$tester->ping('{{ADDR}}'); $tester->terminate(); $tester->expectLogTerminatingNotices(); $tester->close();

« previous php.cvs (#106167) next »