Skip to content

Commit a1a9f70

Browse files
committed
Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4: Fix flaky FPM log-bwd-multiple-msgs-stdout-stderr test and remove XFAIL (#24998)
2 parents 6070ffa + e31cab6 commit a1a9f70

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎sapi/fpm/tests/log-bwd-multiple-msgs-stdout-stderr.phpt‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
FPM: Buffered worker output decorated log with multiple continuous messages (stdout/stderr mixed)
33
--SKIPIF--
44
<?php include "skipif.inc"; ?>
5-
--XFAIL--
6-
Fails intermittently
75
--FILE--
86
<?php
97

@@ -34,7 +32,10 @@ EOT;
3432
$tester = new FPM\Tester($cfg, $code);
3533
$tester->start();
3634
$tester->expectLogStartNotices();
35+
// Check logs after each request so a slow master cannot merge the stdout msgs.
3736
$tester->request()->expectEmptyBody();
37+
$tester->expectLogLine('msg 1 - ', false);
38+
$tester->expectLogLine('msg 2 - msg 3', true);
3839
$tester->request()->expectEmptyBody();
3940
$tester->expectLogLine('msg 1 - ', false);
4041
$tester->expectLogLine('msg 2 - msg 3', true);

0 commit comments

Comments
 (0)