New Show Hacker News story: Show HN: Petri – Drop-in Postgres image that forks a DB per test

Show HN: Petri – Drop-in Postgres image that forks a DB per test
3 by nizarmah | 0 comments on Hacker News.
Rolling it out at work to parallelize 4,257 tests across 5 services. It fixes our tests running in band and DB mocking in API tests. It's a drop-in Postgres image, with a Golang proxy. :5432 is passthrough, :5433 forks the DB per conn (CREATE DATABASE … TEMPLATE …, dropped on disconnect). If you use it, let me know what you like or don't like, so I can make it better. Cheers!