Commit 3e90585
Fix TestSessionTimerOnRefreshReceived timing
The test was waiting exactly until the new expiry time (t=2.5s), which could
cause flaky failures due to timer precision. Fixed to wait only 1s after the
refresh (until t=1.5s) which is:
- Past the original expiry time (t=2.0s) - proves old timer was cancelled
- Before the new expiry time (t=2.5s) - proves new timer hasn't fired yet
Co-Authored-By: Claude <noreply@anthropic.com>1 parent acb3234 commit 3e90585
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
387 | | - | |
| 387 | + | |
388 | 388 | | |
389 | 389 | | |
390 | | - | |
| 390 | + | |
391 | 391 | | |
392 | 392 | | |
393 | | - | |
394 | | - | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
395 | 396 | | |
396 | 397 | | |
397 | 398 | | |
| |||
0 commit comments