mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-10 18:45:53 +00:00
7cb5f74db8
The four ReadDeadline(time.Now().Add(2 * time.Second)) calls in router_integration_test.go (lines 1496, 1543, 1573, 1682) were producing 'read tcp: i/o timeout' failures in CI under -race while passing locally. The 2-second window is enough to read the welcome + initialState messages on a quiet dev workstation but too tight once the runner is loaded with cumulative test work and the race detector overhead. rc.5 cleared the same tests in CI but recent fixture-size growth (k8s clusters 1->3 in7938f28deplus the SMART disk-temperature mock data added in23ea4e487) pushed the end-to-end server-start-to-welcome-message latency past the 2s budget. Bumping to 15s gives CI breathing room without affecting local test duration (the deadline only takes effect when the read is genuinely stuck).