Repository navigation
Commit 08cd427
committed
test: Widen the sync lock deadline budget
One 0.25 s deadline covered two steps: the actor start and the lock
wait under test. When a slow CI runner took more than 0.25 s to start
the actor, the call timed out before the actor ran, and the test
waited 2 s for it at line 422. This failed the Rails 7.1 compatibility
job in run 36877758705.
Give the call 1 s, and set the outer limits to 3 s and 2 s. A 0.3 s
stall before the actor claim reproduced the CI error with the old
budget; with the new budget, 0.3 s and 0.6 s stalls pass. The limits
stay below the 5 s SQLite busy timeout: when the deadline never
expires, the test fails at line 443 on Rails 7.1 and 8.1.1 parent e675248 commit 08cd427
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | | - | |
| 418 | + | |
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
| |||
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
443 | | - | |
| 443 | + | |
444 | 444 | | |
445 | 445 | | |
446 | 446 | | |
447 | | - | |
| 447 | + | |
448 | 448 | | |
449 | 449 | | |
450 | 450 | | |
| |||
0 commit comments