Skip to content

Commit

Permalink
awsdms: don't use secure roachprod cluster
Browse files Browse the repository at this point in the history
With a change to MakeClusterSettings, roachprod clusers were
set to be in secure mode by default. We don't need this for
our test so we will be going back to the default behavior
so we can use sslmode None for the dms endpoint settings.

Fixes: #119051
Release note: None
  • Loading branch information
Jeremyyang920 committed Feb 20, 2024
1 parent 44e45c7 commit 4e8d8dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/cmd/roachtest/tests/awsdms.go
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,8 @@ func setupAWSDMS(
func setupCockroachDBCluster(ctx context.Context, t test.Test, c cluster.Cluster) func() error {
return func() error {
t.L().Printf("setting up cockroach")
c.Start(ctx, t.L(), option.DefaultStartOpts(), install.MakeClusterSettings(), c.All())
settings := install.MakeClusterSettings(install.SecureOption(false))
c.Start(ctx, t.L(), option.DefaultStartOpts(), settings, c.All())

db := c.Conn(ctx, t.L(), 1)
for _, stmt := range []string{
Expand Down

0 comments on commit 4e8d8dd

Please sign in to comment.