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: fix flaky stats logging interval timing test (#1463)
Replace real time.sleep() calls with mocked time.time() to eliminate
timing dependencies that caused intermittent CI failures. The test
would occasionally fail when execution overhead pushed total elapsed
time over the 1.0 second threshold, triggering unexpected stats logging.
Mocking time.time() ensures deterministic behavior across all
environments
and reduces test execution time from ~1.16s to ~0.02s.
0 commit comments