Skip to content
Snippets Groups Projects
Open Unit tests : SqlLite connection not well closed
  • View options
  • Unit tests : SqlLite connection not well closed

    • View options
  • Open created by Benoit Lavenier

    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;

    • Merge request
    • Branch

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first