Skip to content

test(client): stop the renewal-spread test timing out - #101

Merged
cport1 merged 1 commit into
mainfrom
fix/clearance-renewal-test-timeout
Nov 17, 2026
Merged

cport1 merged 1 commit into
mainfrom
fix/clearance-renewal-test-timeout

Conversation

@cport1

@cport1 cport1 commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

The 'two pages with different spreads' test stepped fake time 1s at a time from zero (~3,300 async flushes per tab): 4s locally, and it timed out at Jest's 5s default on CI. It now jumps to 1500s (no spread can renew before 1620s), asserts nothing renewed early, then steps. Runs in 0.4s and still fails if both tabs use the same spread.

It advanced fake time one second at a time from zero, about 3,300 async
timer flushes per tab. That ran 4s locally and timed out at Jest's 5s
on CI. Jump to 1500s first (no spread renews before 1620s), assert
nothing renewed early, then step. 0.4s now; still fails when both tabs
use the same spread.
@cport1
cport1 merged commit 3ebda82 into main Nov 17, 2026
2 checks passed
@cport1
cport1 deleted the fix/clearance-renewal-test-timeout branch November 17, 2026 01:13
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