You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
consume large uncompressed response to avoid illumos hangs
Gemini's theory: When a test case requests the /large-response
endpoint but compression is disabled (either by config, lack of header,
or rejection), the server attempts to write the full ~5KB JSON body to
the socket. On illumos, the default TCP socket buffer size is likely
smaller than on macOS/Linux, causing the server's write operation to
block because the test client never reads the data to drain the buffer.
When teardown() is called, the server hangs trying to finish the write
during graceful shutdown, eventually timing out.
The fix is to consume the response body in these tests.
0 commit comments