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
The error doesn't give me any information about what I'm doing wrong, so I have no idea how to proceed other than trying different random things in my hspec withSetup implmentation.
A have a withSetup configured as follows:
withSetup:: (PoolConnection->IO()) ->IO()
withSetup f =do-- Helper to throw exceptionslet throwE x =either throwIO pure=<< x
throwE $ withDbCache $\dbCache -> withConfig (cacheConfig dbCache) $\db ->do
conn <- liftIO $ connectPostgreSQL (TmpPostgres.toConnectionString db)
initializationRes <-Migrations.runMigration conn Migrations.defaultOptions MigrationInitialization
x <- withSnapshot db $\snapshot ->do
withConfig (snapshotConfig snapshot) $\migratedDb -> f =<< createPool (connectPostgreSQL $ toConnectionString migratedDb) close 26010
pTraceShowM x
pass
```
The text was updated successfully, but these errors were encountered:
Any chance we get more detailed errors?
I've been getting the following crash when I try to run a test with tmp-postgres.
The error doesn't give me any information about what I'm doing wrong, so I have no idea how to proceed other than trying different random things in my hspec withSetup implmentation.
A have a withSetup configured as follows:
The text was updated successfully, but these errors were encountered: