From b2d01e0be890b8da427d97ce77caaf49eb70b115 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Fri, 28 Feb 2020 14:40:21 +0100 Subject: [PATCH] Fix another flaky FPM test --- sapi/fpm/tests/log-bwp-msg-flush-split-fallback.phpt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sapi/fpm/tests/log-bwp-msg-flush-split-fallback.phpt b/sapi/fpm/tests/log-bwp-msg-flush-split-fallback.phpt index 0c152619a9..01b00d4485 100644 --- a/sapi/fpm/tests/log-bwp-msg-flush-split-fallback.phpt +++ b/sapi/fpm/tests/log-bwp-msg-flush-split-fallback.phpt @@ -30,10 +30,11 @@ $tester = new FPM\Tester($cfg, $code); $tester->start(); $tester->expectLogStartNotices(); $tester->request()->expectEmptyBody(); -$tester->terminate(); $lines = $tester->getLogLines(2); var_dump($lines[0] === str_repeat('a', 1021) . "\0f\n"); var_dump($lines[1] === "abc\n"); +$tester->terminate(); +$tester->expectLogTerminatingNotices(); $tester->close(); ?> -- 2.50.1