Skip to content

Commit 797f4bb

Browse files
committed
roachtest/mixedversion: ensure WaitForSQLReady for every node
A typo in [1] resulted in `WaitForSQLReady` being checked for only one node, instead of every. [1] #138109 Epic: none Release note: None
1 parent 6e67e13 commit 797f4bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmd/roachtest/cluster.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2199,7 +2199,7 @@ func (c *clusterImpl) StartE(
21992199
if !startOpts.RoachprodOpts.SkipInit && !startOpts.RoachprodOpts.SkipWaitForSQL {
22002200
// Wait for SQL to be ready on all nodes, for 'system' tenant, only.
22012201
for _, n := range nodes {
2202-
conn, err := c.ConnE(ctx, l, nodes[0], option.VirtualClusterName(install.SystemInterfaceName))
2202+
conn, err := c.ConnE(ctx, l, n, option.VirtualClusterName(install.SystemInterfaceName))
22032203
if err != nil {
22042204
return errors.Wrapf(err, "failed to connect to n%d", n)
22052205
}

0 commit comments

Comments
 (0)