From e211c5b5f51766962186d45a623ff53878173f19 Mon Sep 17 00:00:00 2001 From: nathan-c Date: Sun, 19 May 2019 21:36:50 +0100 Subject: [PATCH] mssql: increase pull timeout --- database/mssql/mssql_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/database/mssql/mssql_test.go b/database/mssql/mssql_test.go index 013a234..341c0b9 100755 --- a/database/mssql/mssql_test.go +++ b/database/mssql/mssql_test.go @@ -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{