pub async fn create_test_database(
prefix: &str,
) -> Result<(PgPool, TestDatabaseGuard)>Expand description
Creates an isolated database and a guard that drops it on normal exit.
Before the first creation for each literal prefix in a process, this makes a best-effort attempt to reap stale databases created by previous processes.