Skip to content

Commit

Permalink
roachtest: run workload from the tenant node
Browse files Browse the repository at this point in the history
The secure URL refers to paths on disk on the clusters in the
node. Since we only create the tenant-scoped certs on the tenant node,
we need to run workload from that node.

Fixes cockroachdb#82266
Depends on cockroachdb#83703

Release note: None
  • Loading branch information
stevendanna committed Jul 1, 2022
1 parent 8794cf2 commit a01fa4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/roachtest/tests/smoketest_secure.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func multitenantSmokeTest(ctx context.Context, t test.Test, c cluster.Cluster) {

// init kv and check new database was done right
cmd := fmt.Sprintf("./cockroach workload init kv '%s'", ten.secureURL())
err = c.RunE(ctx, c.Node(1), cmd)
err = c.RunE(ctx, c.Node(2), cmd)
require.NoError(t, err)

sqlutils.MakeSQLRunner(db).CheckQueryResultsRetry(t, fmt.Sprintf(`
Expand Down

0 comments on commit a01fa4d

Please sign in to comment.