Repository navigation
test(daemon): await cancellation before advancing the queue clock - #1883
bheemreddy-samsara wants to merge 1 commit into
Conversation
Wait for the aborted lease request to settle before advancing its fake queue deadline. Queue admission alone does not mean the cancellation frame has been processed, which let the timeout win on Windows.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Summary
Related: #1808, where the Windows cancellation-test race was observed.
The Windows cancellation test could advance the fake queue clock after admission but before cancellation was processed, producing
QUEUE_TIMEOUTinstead ofCANCELLED(failing run). Wait for the aborted request to settle before advancing the clock. The existing cancellation and rejection-event assertions remain intact.Validation
Head:
aea9098e25ec409030d2ee71efe5a1444a619a8b.src/daemon/server-roles.test.tspass locally.git diff --checkpass.Workflow: Not applicable — test synchronization only; production behavior is unchanged.
Review
Spec review: 0 blocking, 0 fixed, 0 notes. Code review: 0 blocking, 0 fixed, 0 notes. Claims review: 0 blocking, 0 fixed, 0 notes.
Assessment: complete
Rounds: 1. Tokens: n/a.
Notes: Independent review approved the full diff with no findings.