Open egorsmth opened 1 year ago
AFAIK sqlite has problems with parallel queries. Can you try reducing the number of parallel requests in your test? In case you want to parallelize your tests, it would be better to use postgres or multiple Keto instances with sqlite in-memory. Cockroachdb also allows running in-memory iirc.
Preflight checklist
Describe the bug
Sometimes there is exception
database table is locked: keto_uuid_mappings
when running Keto withDSN=memory
. I need to run in memory for tests. I guess there is some issue with sqlite configs.Reproducing the bug
The error is not stable so I couldn't reproduce it. Run keto with DSN=memory
Relevant log output
Relevant configuration
Version
0.10.0-alpha.0
On which operating system are you observing this issue?
Linux
In which environment are you deploying?
Docker
Additional Context
No response