Commit a2fb714
test(rust-sdk): loosen nested-scope liveness timeout to avoid Windows CI flake (#2093)
max_inflight_components_allows_nested_scope_with_single_permit is a pure
liveness check: with a single permit, nested scopes must not deadlock. The
tokio::time::timeout only exists to convert a genuine deadlock-hang into a
failure instead of hanging the test binary.
The 8 nested components each commit LMDB write txns with fsync, serialized
through the single-writer batcher. fsync is slow on Windows CI under load,
and the 3s bound was flaking (Elapsed) there while passing everywhere else.
No engine or test-logic changed between the last green run and the failure,
and a real deadlock would hang 100% of the time on Windows rather than
intermittently — so this is timing, not a logic bug.
Raise the bound to 60s. A real deadlock never makes progress, so the
generous timeout still catches it.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 1eec316 commit a2fb714
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2230 | 2230 | | |
2231 | 2231 | | |
2232 | 2232 | | |
2233 | | - | |
| 2233 | + | |
| 2234 | + | |
| 2235 | + | |
| 2236 | + | |
| 2237 | + | |
| 2238 | + | |
| 2239 | + | |
| 2240 | + | |
2234 | 2241 | | |
2235 | 2242 | | |
2236 | 2243 | | |
| |||
0 commit comments