mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 14:34:19 +00:00
1227d5d168
If the first test thread is a bit slow after it acquires the `DO_CLEANUP` permit, it can accidentally delete a fresh test db created by another thread right before that other thread has a chance to open its connection. This fix simply records the current timestamp _before_ we acquire the `DO_CLEANUP` permit and only cleans up test db's created before then. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |