diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-07-22 12:41:15 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-07-22 12:41:15 +0200 |
commit | 72b9105d30e17463554d81059df249acc8b3aa94 (patch) | |
tree | bc781b47e10ce13837f6a580cd15003451026253 | |
parent | 6572c00b81d9548d2d0bb9db673de4fdc2bf1f84 (diff) | |
parent | b59a9381b989c5c434b30482b1c1b8493f3ceb27 (diff) | |
download | php-git-72b9105d30e17463554d81059df249acc8b3aa94.tar.gz |
Merge branch 'PHP-7.3' into PHP-7.4
-rw-r--r-- | sapi/fpm/tests/bug77185-reload-robustness.phpt | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/sapi/fpm/tests/bug77185-reload-robustness.phpt b/sapi/fpm/tests/bug77185-reload-robustness.phpt deleted file mode 100644 index 9a4f6e0636..0000000000 --- a/sapi/fpm/tests/bug77185-reload-robustness.phpt +++ /dev/null @@ -1,46 +0,0 @@ ---TEST-- -FPM: bug77185 - Reload robustness ---SKIPIF-- -<?php include "skipif.inc"; ?> ---FILE-- -<?php - -require_once "tester.inc"; - -$workers = 4; -$loops = 10; - -$cfg = <<<EOT -[global] -error_log = {{FILE:LOG}} -pid = {{FILE:PID}} -[unconfined] -listen = {{ADDR}} -pm = static -pm.max_children = $workers -catch_workers_output = true -EOT; - -$tester = new FPM\Tester($cfg); -$tester->start(); -$tester->expectLogStartNotices(); -for ($i = 0; $i < $loops; $i++) { - $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->terminate(); -$tester->expectLogTerminatingNotices(); -$tester->close(); - -?> -Done ---EXPECT-- -Done ---CLEAN-- -<?php -require_once "tester.inc"; -FPM\Tester::clean(); -?> |