Unit tests : SqlLite connection not well closed
When trying to upgrade mocha
, i found that DB connection are not well closed, because of write queries, that are asynchronous (see SqliteNodeIOManager.writePromise
).
Inside SqliteNodeIOManager.close()
, we wait the end of writing queries (add an await this.writePromise;