]> granicus.if.org Git - php/commitdiff
Fix another flaky FPM test
authorNikita Popov <nikita.ppv@gmail.com>
Fri, 28 Feb 2020 13:40:21 +0000 (14:40 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Fri, 28 Feb 2020 13:40:21 +0000 (14:40 +0100)
sapi/fpm/tests/log-bwp-msg-flush-split-fallback.phpt

index 0c152619a923c265d3dc0d605ffd1096a89884f5..01b00d44853b49cb08e9b0236e960d90476688e3 100644 (file)
@@ -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();
 
 ?>