mssql: increase pull timeout

This commit is contained in:
nathan-c 2019-05-19 21:36:50 +01:00
parent 98e5f88b9f
commit e211c5b5f5
1 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ import (
"log" "log"
"strings" "strings"
"testing" "testing"
"time"
"github.com/dhui/dktest" "github.com/dhui/dktest"
"github.com/golang-migrate/migrate/v4" "github.com/golang-migrate/migrate/v4"
@ -24,7 +25,7 @@ const saPassword = "Root1234"
var ( var (
opts = dktest.Options{ opts = dktest.Options{
Env: map[string]string{"ACCEPT_EULA": "Y", "SA_PASSWORD": saPassword, "MSSQL_PID": "Express"}, Env: map[string]string{"ACCEPT_EULA": "Y", "SA_PASSWORD": saPassword, "MSSQL_PID": "Express"},
PortRequired: true, ReadyFunc: isReady, PortRequired: true, ReadyFunc: isReady, PullTimeout: 2 * time.Minute,
} }
// Supported versions: https://www.mysql.com/support/supportedplatforms/database.html // Supported versions: https://www.mysql.com/support/supportedplatforms/database.html
specs = []dktesting.ContainerSpec{ specs = []dktesting.ContainerSpec{