It lived as long as the test process, and the end of the process shut down the connections. Being lazy, connections were not established unless a test needed to use the database, and any failures (e.g. if a local DB server wasn’t running) were thrown from any test that tried to use the database