Effect CommunityEC
Effect Community16mo ago
2 replies
deeplaysit

Docs on Handling Transactions/Connection Pools and Race Conditions in Integration Tests?

are there docs anywhere on how transactions/connection pools are handled? I'm seeing a race in my integration test where an expected row doesnt exist if I try and use it directly after creation... just want to make sure I'm using the lib properly in this situation.

the race is intermittent - is always fine if I add a debugger break point before I try fetch the row
Was this page helpful?