Skip to content

Commit

Permalink
chore: use Ubuntu 22.04 base image for MSSQL
Browse files Browse the repository at this point in the history
The tests are failing because the container is terminated with error code 127
  • Loading branch information
mdelapenya committed Sep 18, 2024
1 parent 1d6c0c3 commit 4d7a172
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
TEST_COUCHBASE_IMAGE: "couchbase:enterprise-7.1.1"
TEST_MINIO_IMAGE: "docker.io/minio/minio:RELEASE.2024-08-17T01-24-54Z"
TEST_MONGODB_IMAGE: "docker.io/mongo:7"
TEST_MSSQL_IMAGE: "mcr.microsoft.com/mssql/server:2022-RTM-GDR1-ubuntu-20.04"
TEST_MSSQL_IMAGE: "mcr.microsoft.com/mssql/server:2022-CU10-ubuntu-22.04"
TEST_MYSQL_IMAGE: "docker.io/mysql:9"
TEST_POSTGRES_IMAGE: "docker.io/postgres:16-alpine"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-mssql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ jobs:
go-version: '${{ matrix.go-version }}'
- name: Run Test
env:
TEST_MSSQL_IMAGE: "mcr.microsoft.com/mssql/server:2022-RTM-GDR1-ubuntu-20.04"
TEST_MSSQL_IMAGE: "mcr.microsoft.com/mssql/server:2022-CU10-ubuntu-22.04"
run: cd ./mssql && go test ./... -v -race
2 changes: 1 addition & 1 deletion mssql/mssql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

const (
// mssqlImage is the default image used for running MSSQL in tests.
mssqlImage = "mcr.microsoft.com/mssql/server:2022-RTM-GDR1-ubuntu-20.04"
mssqlImage = "mcr.microsoft.com/mssql/server:2022-CU10-ubuntu-22.04"
mssqlImageEnvVar string = "TEST_MSSQL_IMAGE"
mssqlUser string = "sa"
mssqlPass string = "MsSql!1234"
Expand Down

0 comments on commit 4d7a172

Please sign in to comment.