Accessing postgres database with another microservice while testing phoenix app

The ecto.sandbox is built around the idea of testing against a long running transaction, but never commiting any data to the database. If you need to commit you data to the db you’d need to come up with different means of cleaning up the database / preventing async tests against the same data.