Skip to content

Commit d4b7a43

Browse files
vibbowclaude
andcommitted
Run gh24173_write_timeout.phpt on Windows only
The test still hit the run-tests timeout on macOS, although the fix is Windows only, so timed writes to a stalled loopback peer don't time out reliably there either way. The bug and the fix are Windows specific, so limit the test to Windows like gh24173.phpt. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 5529795 commit d4b7a43

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎ext/standard/tests/streams/gh24173_write_timeout.phpt‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
--TEST--
22
GH-24173 (Timed writes on socket streams must not block past the timeout)
3+
--SKIPIF--
4+
<?php
5+
if (PHP_OS_FAMILY !== 'Windows') die('skip Windows only');
6+
?>
37
--FILE--
48
<?php
59
$srv = stream_socket_server('tcp://127.0.0.1:0', $errno, $errstr);

0 commit comments

Comments
 (0)