top | item 38871122

(no title)

mrloba | 2 years ago

It's not perfect, but I have had success running postgres in Docker and running integration tests against that. Usually you can trigger the problem by running a handful of queries in parallel.

discuss

order

amw-zero|2 years ago

Yes exactly. That's the approach taken here. The main downside is that it can require sleeps to properly reproduce race conditions.

skyde|2 years ago

this is the current setup we use in my team but I am trying to move away for this to something more systematic.