Files
lancedb/rust
Xuanwo 03eeb6d1f2 test(rust): isolate deferred SQL read timeout from submission latency (#5372)
The macOS 15 Rust job on `main` (`c3f005f7`) failed in
`sql_read_timeout_is_per_query_and_cancels_deferred_execution`. The
query's 100 ms read timeout expired during Flight submission with `SQL
query submission timed out`, before result consumption began. [Failing
job](https://github.com/lancedb/lancedb/actions/runs/46756444853/job/143033346699)

Use a blocking task to keep paused Tokio time fixed while the real
loopback submission completes. Resume the clock before reading results
so the test still checks the 100 ms result timeout, deferred Flight
cancellation, and a successful second query with the connection
defaults. [Related reader
fixture](https://github.com/lancedb/lancedb/pull/5000)

On Linux, a temporary 300 ms wall-clock delay in the initial Flight
`DoGet` reproduced the submission timeout on the original path. The
repaired fixture passed the same result-read and cancellation assertions
with the delay in place.
2026-12-02 23:49:08 +00:00
..