Skip to content

#129 io: skip 046-write_wakes_on_peer_reset on Windows#135

Merged
EdmondDantes merged 1 commit into
mainfrom
129-io-chaos-follow-up-write-path-toxics-real-rst-forked-peer-failure-freeze
May 22, 2026
Merged

#129 io: skip 046-write_wakes_on_peer_reset on Windows#135
EdmondDantes merged 1 commit into
mainfrom
129-io-chaos-follow-up-write-path-toxics-real-rst-forked-peer-failure-freeze

Conversation

@EdmondDantes
Copy link
Copy Markdown
Contributor

tests/stream/046-write_wakes_on_peer_reset.phpt — the #129 item 1
regression test — fails on Windows. Pre-existing (it failed in #131 too,
masked by the tests/io/083 failure that #133 has now fixed).

The test and the item 1 fix target the POSIX poll/POLLERR peer-reset
path. On Windows the writer does not hang (the catastrophic symptom
item 1 fixed does not reproduce), but Winsock surfaces WSAECONNRESET to
a write on a different schedule, so the "second fwrite fails" assertion
does not hold.

Skipped on Windows via --SKIPIF--; the POSIX path stays covered. Whether
Windows reliably signals a peer reset to a blocked writer is tracked in
#134.

The test and the #129 item 1 fix target the POSIX poll/POLLERR
peer-reset path. On Windows the writer does not hang, but Winsock
surfaces WSAECONNRESET to a write on a different schedule, so the
"second fwrite fails" assertion does not hold. Pre-existing failure,
not a regression. Skipped on Windows; the open question of whether
Windows reliably signals the reset is tracked in #134.
@EdmondDantes EdmondDantes merged commit c18fd3c into main May 22, 2026
7 checks passed
@EdmondDantes EdmondDantes deleted the 129-io-chaos-follow-up-write-path-toxics-real-rst-forked-peer-failure-freeze branch June 1, 2026 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant