hyperledger / aries-askar

Secure storage designed for Hyperledger Aries agents.
Apache License 2.0
59 stars 45 forks source link

DB removal on windows may fail #167

Closed andrewwhitehead closed 1 year ago

andrewwhitehead commented 1 year ago

sqlx's close method on a Pool is meant to only return when all connections have been closed and freed, but there have been bugs introduced in this area before, and it seems like removal can occasionally fail on Github's CI at the moment. I think the best solution might be to just retry removing the file a fixed number of times with delays, up to 1s total maybe.