mirror of https://github.com/status-im/migrate.git
mssql: increase pull timeout
This commit is contained in:
parent
98e5f88b9f
commit
e211c5b5f5
|
@ -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{
|
||||||
|
|
Loading…
Reference in New Issue