Skip to content

Commit

Permalink
Merge pull request cockroachdb#85719 from abarganier/backport22.1-82248
Browse files Browse the repository at this point in the history
  • Loading branch information
abarganier authored Aug 8, 2022
2 parents f8e5c09 + 570056f commit a59c4dc
Show file tree
Hide file tree
Showing 7 changed files with 268 additions and 95 deletions.
2 changes: 1 addition & 1 deletion pkg/cmd/roachprod/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ func initFlags() {
cmd.Flags().StringVarP(&config.Binary,
"binary", "b", config.Binary, "the remote cockroach binary to use")
}
for _, cmd := range []*cobra.Command{startCmd, sqlCmd, pgurlCmd, adminurlCmd, runCmd} {
for _, cmd := range []*cobra.Command{startCmd, startTenantCmd, sqlCmd, pgurlCmd, adminurlCmd, runCmd} {
cmd.Flags().BoolVar(&secure,
"secure", false, "use a secure cluster")
}
Expand Down
1 change: 0 additions & 1 deletion pkg/cmd/roachtest/tests/acceptance.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ func registerAcceptance(r registry.Registry) {
registry.OwnerMultiTenant: {
{
name: "multitenant",
skip: "https://github.com/cockroachdb/cockroach/issues/81506",
fn: runAcceptanceMultitenant,
},
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/roachtest/tests/multitenant.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
func runAcceptanceMultitenant(ctx context.Context, t test.Test, c cluster.Cluster) {
c.Put(ctx, t.Cockroach(), "./cockroach")

c.Start(ctx, t.L(), option.DefaultStartOpts(), install.MakeClusterSettings(), c.All())
c.Start(ctx, t.L(), option.DefaultStartOpts(), install.MakeClusterSettings(install.SecureOption(true)), c.All())

const tenantID = 123
{
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/roachtest/tests/multitenant_upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func runMultiTenantUpgrade(ctx context.Context, t test.Test, c cluster.Cluster,

kvNodes := c.Node(1)

settings := install.MakeClusterSettings(install.BinaryOption(predecessorBinary))
settings := install.MakeClusterSettings(install.BinaryOption(predecessorBinary), install.SecureOption(true))
c.Start(ctx, t.L(), option.DefaultStartOpts(), settings, kvNodes)
tenantStartOpt := createTenantOtherTenantIDs([]int{11, 12, 13, 14})

Expand Down
Loading

0 comments on commit a59c4dc

Please sign in to comment.