mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-19 23:05:21 +00:00
The reaper signals a worker only after its socket accepts. The two "cannot be opened for a moment" tests spawned a listening worker and reaped without waiting for the listen, so on a loaded runner the reaper found no socket, left the worker alive, and the test failed after waitUntilGone's 5s deadline. Spawn the worker through a helper that resolves once the socket is listening, as the other socket tests in this file already do. Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>