Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
mrloba
· 2y ago · 0 comments
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.
Comments
[–]
amw-zero
2y ago
Yes exactly. That's the approach taken here. The main downside is that it can require sleeps to properly reproduce race conditions.
[–]
skyde
2y ago
this is the current setup we use in my team but I am trying to move away for this to something more systematic.