Files
fips/src
Johnathan Corgan 70b5b06b57 Keep native client test descriptors alive until the client holds them, and correct a stale test comment
Three native client tests stand in for the daemon: they send a socket
to the client and then dropped their own copy straight away. Until the
client read the message, the message was the socket's only reference,
and Darwin's descriptor collector can flush such a socket, so the tests
failed now and then on macOS. Each now keeps its copy until the client
holds the descriptor, as the daemon itself does. Two of them also
provoke a collection in that window, so a regression can show on macOS
without waiting for a stray collection; in the bind test the stand-in
daemon keeps its copy until the client closes the connection.

A comment in the native API tests still described the earlier wait for
a closed flow, which watched only the reader's close flag. It now says
what the wait observes, a flagged or forgotten flow, and why neither
means the release has been served yet.
2026-10-02 04:10:49 +00:00
..