mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-21 12:59:08 +02:00
MySQL Test Version Change
This commit is contained in:
@@ -38,9 +38,9 @@ func CreateMyDB() (func(), error) {
|
|||||||
log.Printf("[DEBUG] CreateMyDB")
|
log.Printf("[DEBUG] CreateMyDB")
|
||||||
|
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
c, err := mysql.Run(ctx, "mysql:5.7.34", testcontainers.WithWaitStrategyAndDeadline(180*time.Second,
|
c, err := mysql.Run(ctx, "mysql:8.0.36", testcontainers.WithWaitStrategyAndDeadline(30*time.Second,
|
||||||
wait.ForLog("database system is ready to accept connections").
|
wait.ForLog("database system is ready to accept connections").
|
||||||
WithOccurrence(2).WithStartupTimeout(180*time.Second)),
|
WithOccurrence(2).WithStartupTimeout(30*time.Second)),
|
||||||
)
|
)
|
||||||
|
|
||||||
log.Printf("[DEBUG] CreateMyDB - 2")
|
log.Printf("[DEBUG] CreateMyDB - 2")
|
||||||
|
|||||||
Reference in New Issue
Block a user