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
test(stress): fix goroutine-leak baseline to be per-rep
The global baseline (taken once before rep 1) was stale by the time
reps 2 and 3 ran: goroutines from other parallel tests that started
DURING the 30 s rep inflated the post-rep count and triggered false
positive leak reports in CI.
Take a fresh baseline immediately before each rep so the delta measures
only goroutines created (and not drained) by that specific rep's
workload. runRep already guarantees all 1000 worker goroutines drain via
wg.Wait, so the tolerance=10 margin is enough for any short-lived
daemon-internal cleanup goroutines.
0 commit comments