| ▲ | Show HN: Petri – Drop-in Postgres image that forks a DB per test(github.com) | |
| 4 points by nizarmah 12 hours ago | ||
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! | ||