Skip to content

Commit

Permalink
tests: update mssql container server version
Browse files Browse the repository at this point in the history
  • Loading branch information
fairclothjm committed Jan 23, 2025
1 parent afb9eca commit e73195e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions testutil/mssqlhelper.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ const (

// PrepareMSSQLTestContainer sets up a test MSSQL docker container
func PrepareMSSQLTestContainer(t *testing.T) (cleanup func(), retURL string) {
// skip due to error:
// tls: failed to parse certificate from server: x509: negative serial number in test case failures.
t.Skip("Skipping until https://github.com/microsoft/mssql-docker/issues/895 is resolved.")

if strings.Contains(runtime.GOARCH, "arm") {
t.Skip("Skipping, as this image is not supported on ARM architectures")
}
Expand All @@ -36,7 +32,7 @@ func PrepareMSSQLTestContainer(t *testing.T) (cleanup func(), retURL string) {
}

containerfile := `
FROM mcr.microsoft.com/mssql/server:2017-latest
FROM mcr.microsoft.com/mssql/server:2022-latest
USER root
ENV MSDIR=/var/opt/mssql
RUN mkdir -p $MSDIR \
Expand Down

0 comments on commit e73195e

Please sign in to comment.