go-ethereum/common/countdown
Daniel Liu 0581dec6b7
fix(common/countdown): stabilize reset timing assertions (#2120)
Fix flaky countdown reset tests by performing an explicit second Reset before validating the second timeout window, and using a boundary-safe time check.

Observed failure:

--- FAIL: TestCountdownShouldReset (14.00s)
    countdown_test.go:53: Correctly reset the countdown once
    countdown_test.go:72: Countdown did not reset correctly second time
2026-03-10 18:42:58 +05:30
..
countdown.go fix(common): fix race condition in countdown timer StopTimer method (#2014) 2026-02-10 16:51:42 +05:30
countdown_test.go fix(common/countdown): stabilize reset timing assertions (#2120) 2026-03-10 18:42:58 +05:30
exp_duration.go common, core: fix goimports warning (#1972) 2026-01-27 08:53:31 +05:30
exp_duration_test.go Exp timeout (#764) 2025-01-19 23:04:03 +08:00