mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-30 22:26:42 +00:00
Update store.go
This commit is contained in:
@@ -40,7 +40,7 @@ func CreateMyDB() (func(), error) {
|
|||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
c, err := mysql.Run(ctx, "mysql:5.7.34", testcontainers.WithWaitStrategy(
|
c, err := mysql.Run(ctx, "mysql:5.7.34", testcontainers.WithWaitStrategy(
|
||||||
wait.ForLog("database system is ready to accept connections").
|
wait.ForLog("database system is ready to accept connections").
|
||||||
WithOccurrence(2).WithStartupTimeout(15*time.Second)),
|
WithOccurrence(2).WithStartupTimeout(180*time.Second)),
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
|||||||
Reference in New Issue
Block a user