mirror of
https://github.com/block/buzz.git
synced 2026-11-15 13:51:12 +00:00
The service-restart backoff test waited for the channel list to paint before firing the 1012 close. The channel list is Tauri-backed and renders before the websocket is up, so with three rejected dials the session was still in its backoff loop when the test looked for a socket to close and found none. Now that preconnect dials immediately instead of waiting for requestIdleCallback, the first rejected attempt happens early enough to expose the gap deterministically. Wait for the connected state instead. The test still fails with the 1012 backoff reset disabled, so it guards the same behavior. Co-authored-by: Meli <5aaa86bce934fc3445fc254aab560a40923f10252f92107e665073dede0e04d3@buzz.block.builderlab.xyz> Signed-off-by: Meli <5aaa86bce934fc3445fc254aab560a40923f10252f92107e665073dede0e04d3@buzz.block.builderlab.xyz>