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"
"strings"
"testing"
"time"
"github.com/dhui/dktest"
"github.com/golang-migrate/migrate/v4"
@ -24,7 +25,7 @@ const saPassword = "Root1234"
var (
opts = dktest.Options{
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
specs = []dktesting.ContainerSpec{