Update store.go

This commit is contained in:
İsmail
2024-11-05 23:26:57 +03:00
parent f632501062
commit e2db6210e2

View File

@@ -40,7 +40,7 @@ func CreateMyDB() (func(), error) {
ctx := context.Background()
c, err := mysql.Run(ctx, "mysql:5.7.34", testcontainers.WithWaitStrategy(
wait.ForLog("database system is ready to accept connections").
WithOccurrence(2).WithStartupTimeout(15*time.Second)),
WithOccurrence(2).WithStartupTimeout(180*time.Second)),
)
if err != nil {
return nil, err