1
mirror of https://github.com/rclone/rclone synced 2024-11-26 04:07:22 +01:00
rclone/lib/kv
Ivan Andreev 57c7fde864 lib/kv: add unit tests, fix races #5587
After testing concurrent calling of `kv.Start` and `db.Stop` I had to restrict
more parts of these under mutex to make results deterministic without Sleep's
in the test body. It's more safe but has potential to lock Start for up to
2 seconds due to `db.open`.
2021-10-20 19:11:54 +03:00
..
bolt.go lib/kv: add unit tests, fix races #5587 2021-10-20 19:11:54 +03:00
internal_test.go lib/kv: add unit tests, fix races #5587 2021-10-20 19:11:54 +03:00
types.go lib/kv: add key-value database api #5587 2021-10-20 19:11:54 +03:00
unsupported.go lib/kv: add key-value database api #5587 2021-10-20 19:11:54 +03:00