Skip to content

test(queue): freeze the clock for usage display assertions - #127

Merged
dynamicheart merged 1 commit into
mainfrom
codex/stabilize-queue-duration-test
Nov 4, 2026
Merged

dynamicheart merged 1 commit into
mainfrom
codex/stabilize-queue-duration-test

Conversation

@dynamicheart

Copy link
Copy Markdown
Owner

The usage-display test could cross a wall-clock second between creating a one-hour lease and rendering it, making the remaining time correctly render as minutes while the test required hours. Freeze the test clock at an integer second so the existing idle, owner, queue and release assertions remain deterministic. Production code is unchanged.

Validation: all 52 queue-bot tests pass; git diff --check passes. This addresses the Python 3.11 failure in PR #125 CI run 41780854082.

@dynamicheart
dynamicheart merged commit 600a0e5 into main Nov 4, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant