You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.
It looks like TestDriver.Connect() doesn't recreate its underlying sqlx.DB, which means that if a mock connection created using CreateAndConnectMockDB() is closed and reconnected, queries on the "new" connection will fail with sql: database is closed.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It looks like
TestDriver.Connect()
doesn't recreate its underlyingsqlx.DB
, which means that if a mock connection created usingCreateAndConnectMockDB()
is closed and reconnected, queries on the "new" connection will fail withsql: database is closed
.The text was updated successfully, but these errors were encountered: