I can't repro this locally, so I don't know what the source of the issue is. The temporary DB, created with PgTempDB::async_new().await (so persist isn't set), hangs for minutes after a call to shutdown. Maybe there are some existing connections to the DB, but according to the documentation, this shouldn't block shutdown when persist isn't set.
This happens on a runner running Ubuntu noble, with postgresql-16 installed.
I can't repro this locally, so I don't know what the source of the issue is. The temporary DB, created with
PgTempDB::async_new().await(sopersistisn't set), hangs for minutes after a call toshutdown. Maybe there are some existing connections to the DB, but according to the documentation, this shouldn't blockshutdownwhenpersistisn't set.This happens on a runner running Ubuntu noble, with postgresql-16 installed.