Files
OwnCord/Server
J3vbandClaude Fable 5 a366160dc8 test(ws): bound the load test's unregister settle by overallTimeout, not 5s (#1379)
TestTheLoadTest failed on the post-merge main run's windows-latest -race leg
(job 95067154071) with "timed out after 5s waiting for churned clients to
fully unregister" — every worker had finished, the hub was still running,
and the goleak dump that followed was only the anchor drainers the t.Fatal
skipped stopping. The runner was simply slow: the ws package took 276s
against 159s on the identical tree an hour earlier, db and service ran
13-24% slower too, and Unregister drains asynchronously behind the hub
loop's remaining broadcast work.

Bound the settle wait by the test's own overallTimeout (90s), the same
"only a genuine hang takes this long" limit the workers use. waitFor
returns as soon as ClientCount matches, so a healthy run pays nothing —
locally under -race the whole test still finishes in ~9s.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-15 22:57:01 +02:00
..
2026-08-09 11:50:12 +02:00