Skip to content

Commit

Permalink
disables tls encryption for mssql tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nickzelei committed Nov 25, 2024
1 parent 1f6de98 commit e6e8f6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/testutil/testcontainers/sqlserver/sqlserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func (m *MssqlTestContainer) setup(ctx context.Context) (*MssqlTestContainer, er
return nil, err
}

connStr, err := mssqlcontainer.ConnectionString(ctx)
connStr, err := mssqlcontainer.ConnectionString(ctx, "encrypt=disable")
if err != nil {
return nil, err
}
Expand Down
4 changes: 2 additions & 2 deletions worker/pkg/workflows/datasync/workflow/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func (s *IntegrationTestSuite) SetupMssql() (*mssqlTest, error) {
if err != nil {
return nil, err
}
connstr, err := mssqlcontainer.ConnectionString(s.ctx)
connstr, err := mssqlcontainer.ConnectionString(s.ctx, "encrypt=disable")
if err != nil {
return nil, err
}
Expand Down Expand Up @@ -166,7 +166,7 @@ func createMssqlTest(ctx context.Context, mssqlcontainer *testmssql.MSSQLServerC
return nil, err
}

connStr, err := mssqlcontainer.ConnectionString(ctx, fmt.Sprintf("database=%s", database))
connStr, err := mssqlcontainer.ConnectionString(ctx, fmt.Sprintf("database=%s", database), "encrypt=disable")
if err != nil {
return nil, err
}
Expand Down

0 comments on commit e6e8f6d

Please sign in to comment.