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
..
2021-09-09 20:43:59 +03:00
2020-05-20 15:54:51 +01:00
2021-09-09 20:43:59 +03:00
2021-03-30 12:46:47 +01:00
2021-10-03 01:44:08 +03:00
2020-06-25 09:41:36 +01:00
2021-10-01 10:09:57 +03:00
2020-09-27 11:44:05 +01:00
2019-07-28 18:47:38 +01:00
2021-07-07 17:59:26 +01:00
2021-10-01 23:18:39 +02:00
2021-10-15 12:51:31 +01:00
2021-09-09 20:43:59 +03:00
2020-04-23 17:52:14 +01:00
2021-10-20 19:11:54 +03:00
2021-09-09 20:43:59 +03:00
2021-05-14 14:07:44 +01:00
2020-12-28 13:23:35 +00:00
2021-09-09 20:43:59 +03:00
2020-06-15 21:34:37 +01:00
2021-04-12 18:14:01 +01:00
2020-10-14 15:21:31 +01:00
2021-03-29 19:09:47 +01:00
2021-03-29 19:09:47 +01:00
2020-10-28 18:16:23 +00:00
2021-09-09 20:43:59 +03:00
2021-05-17 16:20:29 +01:00