--TEST-- FPM: If SIGQUIT and SIGTERM during reloading fail, SIGKILL should be sent --EXTENSIONS-- pcntl --SKIPIF-- --FILE-- start(extensions: ['pcntl']); $tester->expectLogStartNotices(); $tester->request()->expectEmptyBody(); $tester->signal('USR2'); $tester->expectLogNotice('Reloading in progress ...'); $tester->expectLogNotice('reloading: .*'); // The timeout needs to elapse twice until the process will be killed, // so we have to wait at least two seconds. sleep(2); $tester->expectLogNotice('using inherited socket fd=\d+, "127.0.0.1:\d+"'); $tester->expectLogStartNotices(); $tester->ping('{{ADDR}}'); $tester->terminate(); $tester->expectLogTerminatingNotices(); $tester->close(); ?> Done --EXPECT-- Done --CLEAN--