test_system_dbfollow: the divergence record comparison straddles a clock second #129
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Keel-Linux/keel#129
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Seen on CI (tests / coverage, PR #128's run, 2026-10-09):
test_an_old_primary_with_errant_gtids_stays_read_only_and_alertsfailed with {'at': '...16:52:32Z'} != {'at': '...16:52:31Z'}.keel.system.dbfollow._divergedrewrites the diverged record with a freshaton every run. The test reads the record, runsfollowa second time (which rewritesat), then assertscollect.divergenceequals the first read. When the two runs straddle a clock-second boundary the timestamps differ and the test fails.The property under test is that the second run keeps the record stable and alerts no more (that part is asserted separately). The comparison should not include
at, which is by design "when the divergence was last seen".