diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-02-28 14:40:21 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-02-28 14:40:21 +0100 |
commit | b2d01e0be890b8da427d97ce77caaf49eb70b115 (patch) | |
tree | 42b1439c671228b13693b32b0b77fadef9f8ee4e | |
parent | 3c096b51f97e03e4cc19446d4dc937c8510d71c0 (diff) | |
download | php-git-b2d01e0be890b8da427d97ce77caaf49eb70b115.tar.gz |
Fix another flaky FPM test
-rw-r--r-- | sapi/fpm/tests/log-bwp-msg-flush-split-fallback.phpt | 3 |
1 files changed, 2 insertions, 1 deletions
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(); ?> |