Repository navigation
Commit bca87d9
Stabilize the outdated rate-limit cache test
The test advanced the clock relative to the real system time while the
rate-limit occurrences were recorded against it, so the occurrences could
land exactly on the inclusive window start and stay throttled.
Freeze the clock and advance strictly past the window instead.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 6e186a3 commit bca87d9
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
548 | 549 | | |
549 | 550 | | |
550 | 551 | | |
| 552 | + | |
551 | 553 | | |
552 | 554 | | |
553 | 555 | | |
| |||
564 | 566 | | |
565 | 567 | | |
566 | 568 | | |
567 | | - | |
| 569 | + | |
| 570 | + | |
568 | 571 | | |
569 | 572 | | |
570 | 573 | | |
| |||
0 commit comments