consistent image of MSSQL for integration testing. (#2898)

This commit is contained in:
Abdul Basit 2024-05-31 19:56:02 +05:00 committed by GitHub
parent d93c428b54
commit ddd861d4c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -80,7 +80,7 @@ func TestJdbcVerified(t *testing.T) {
sqlServerDatabase := "master"
mssqlContainer, err := mssql.RunContainer(ctx,
testcontainers.WithImage("mcr.microsoft.com/mssql/server:2022-RTM-GDR1-ubuntu-20.04"),
testcontainers.WithImage("mcr.microsoft.com/azure-sql-edge"),
mssql.WithAcceptEULA(),
mssql.WithPassword(sqlServerPass),
)

View file

@ -22,7 +22,7 @@ func TestSqlServer(t *testing.T) {
sqlServerDB := "master"
mssqlContainer, err := mssql.RunContainer(ctx,
testcontainers.WithImage("mcr.microsoft.com/mssql/server:2022-RTM-GDR1-ubuntu-20.04"),
testcontainers.WithImage("mcr.microsoft.com/azure-sql-edge"),
mssql.WithAcceptEULA(),
mssql.WithPassword(sqlServerPass),
)