tursodatabase / libsql

libSQL is a fork of SQLite that is both Open Source, and Open Contributions.
https://turso.tech/libsql
MIT License
11.25k stars 286 forks source link

Fix sqld test #1579

Closed sivukhin closed 4 months ago

sivukhin commented 4 months ago

Context

Test begin_commit stuck in my branch recently (https://github.com/tursodatabase/libsql/actions/runs/10007587526/job/27662601172?pr=1571)

Since query rust API return cursor we must consume it completely before proceeding with next request as internal unfinished stream on server side can block some resources and lead to deadlock.

Also, move nextest config to the expected default location (.config/nextest.toml) and fixed syntax error in the TOML