Skip to content

Commit

Permalink
roachtest: run sequelize on insecure mode and default sql port
Browse files Browse the repository at this point in the history
The test suite expects insecure connections and that the SQL
port is on 26257.
  • Loading branch information
DarrylWong committed May 13, 2024
1 parent 58e2ef0 commit 391453f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/cmd/roachtest/tests/sequelize.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import (
"github.com/cockroachdb/cockroach/pkg/cmd/roachtest/cluster"
"github.com/cockroachdb/cockroach/pkg/cmd/roachtest/option"
"github.com/cockroachdb/cockroach/pkg/cmd/roachtest/registry"
"github.com/cockroachdb/cockroach/pkg/cmd/roachtest/roachtestutil"
"github.com/cockroachdb/cockroach/pkg/cmd/roachtest/test"
"github.com/cockroachdb/cockroach/pkg/roachprod/install"
)
Expand All @@ -38,7 +39,9 @@ func registerSequelize(r registry.Registry) {
}
node := c.Node(1)
t.Status("setting up cockroach")
c.Start(ctx, t.L(), option.NewStartOpts(sqlClientsInMemoryDB), install.MakeClusterSettings(), c.All())
startOpts := option.NewStartOpts(sqlClientsInMemoryDB)
roachtestutil.SetDefaultSQLPort(c, &startOpts.RoachprodOpts)
c.Start(ctx, t.L(), startOpts, install.MakeClusterSettings(install.SecureOption(false)), c.All())

version, err := fetchCockroachVersion(ctx, t.L(), c, node[0])
if err != nil {
Expand Down

0 comments on commit 391453f

Please sign in to comment.