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
{{ message }}
Repository navigation
test_remember_date_into_matches_remember_date_with_tz flakes across a minute boundary #794
filed-by-loopFiled by the maintainer loop, not by a human. Sets the author axis in dispatch_rank.lane-diagnosticsdoctor and the test harness — doctor.sh, commands/doctor.md, conftest.py, run-tests.sh, report_*.pypriority:lowReal, but neither blocking nor compounding fast
The test reads the clock twice: OLD=$(_remember_date "+%Y-%m-%d %H:%M %Z"), then _remember_date_into NEW .... It asserts the two minute-resolution strings are equal. If the two reads fall on either side of a minute boundary, they differ even though both functions are correct. The macOS 3.9 leg is the slowest (12 min), and the subshell fork on bash 3.2 widens the gap. Unrelated to #790, which touched the compact-mode deferred list.
Fix: take a third read after NEW (OLD2) and assert NEW in (OLD, OLD2), or pin the clock the way other lib-clock tests do. The assertion must stay exact. Only the race goes.
filed-by-loopFiled by the maintainer loop, not by a human. Sets the author axis in dispatch_rank.lane-diagnosticsdoctor and the test harness — doctor.sh, commands/doctor.md, conftest.py, run-tests.sh, report_*.pypriority:lowReal, but neither blocking nor compounding fast
Activity
fix(#794): tolerate a minute-boundary race in the tz clock-parity test (