Skip to content

Commit

Permalink
skip test as stopgap until upstream fixes the issue
Browse files Browse the repository at this point in the history
  • Loading branch information
fairclothjm committed Jan 15, 2025
1 parent db3f9a0 commit 1bbe7e6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions testutil/mssqlhelper.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ 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 @@ -31,8 +35,6 @@ func PrepareMSSQLTestContainer(t *testing.T) (cleanup func(), retURL string) {
return func() {}, os.Getenv("MSSQL_URL")
}

// Workaround for https://github.com/microsoft/mssql-docker/issues/895 and us temporary seeing
// tls: failed to parse certificate from server: x509: negative serial number in test case failures.
containerfile := `
FROM mcr.microsoft.com/mssql/server:2017-latest
USER root
Expand Down

0 comments on commit 1bbe7e6

Please sign in to comment.