fix: use container with Postgres 13 for dump.sql (#15411)

This commit is contained in:
Hugo Dutka
2024-11-07 16:49:26 +01:00
committed by GitHub
parent 9f05b192b4
commit f85ef84cc5

View File

@ -37,10 +37,11 @@ func main() {
}
}()
connection, err := dbtestutil.Open(t)
connection, cleanup, err := dbtestutil.OpenContainerized(t, dbtestutil.DBContainerOptions{})
if err != nil {
panic(err)
}
defer cleanup()
db, err := sql.Open("postgres", connection)
if err != nil {