Skip to content

Commit

Permalink
test: increase db max lifetime
Browse files Browse the repository at this point in the history
  • Loading branch information
FreddyDevelop committed Jan 6, 2025
1 parent d567438 commit e4c9fac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/test/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func StartDB(name string, dialect string) (*TestDB, error) {
hostAndPort := resource.GetHostPort(getPortID(dialect))
dsn := getDsn(dialect, hostAndPort)

_ = resource.Expire(120)
_ = resource.Expire(300)

pool.MaxWait = 120 * time.Second
if err = pool.Retry(func() error {
Expand Down

0 comments on commit e4c9fac

Please sign in to comment.