pub fn set_sweep_interval_for_test(d: Duration)
Override the sweep interval for tests.
Call once, before any connection that spawns the sweep task. The value is process-global (a OnceLock); subsequent calls are no-ops.
OnceLock