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
{{ message }}
Repository navigation
test(desktop-linux): viewer-state stalled-connect test hangs in afterEach #480
packages/desktop-linux/test/viewer-state.test.ts "read-only VNC connection > bounds a stalled TCP connect and rejects an absent session record" fails locally because its afterEach hook times out after 10 s.
It reproduces on main at 9015bf8 with the file run alone: 2 of 3 runs failed at a load average under 1. npx vitest run packages/desktop-linux/test/viewer-state.test.ts. CI on main is green, so the hang is intermittent.
The hook kills the test children and closes the test servers. One of those waits does not end after this test, which replaces net.connect with a bare socket.
Found while validating the branch for #459. It is not caused by that branch, which does not touch packages/desktop-linux.
Find which wait in the hook hangs after this test
Fix it so the file passes 10 runs in a row locally
Activity