Skip to content

Commit 7073d3e

Browse files
craig[bot]srosenbergdhartunian
committed
153218: roachtest/mixedversion: ensure WaitForSQLReady for every node r=darrylwong a=srosenberg A typo in [1] resulted in `WaitForSQLReady` being checked for only one node, instead of every. [1] #138109 Epic: none Release note: None 153221: roachtest: fix `sumCounterIncreases` r=jbowens a=srosenberg Fix a typo in `sumCounterIncreases` which was previously overshooting, i.e., double counting. Epic: none Release note: None 153290: telemetryccl: skip TestTelemetry r=dhartunian a=dhartunian Part of: #152123 Epic: None Release note: None Co-authored-by: Stan Rosenberg <[email protected]> Co-authored-by: David Hartunian <[email protected]>
4 parents 9d097ec + 797f4bb + 2a0ff18 + d0945c5 commit 7073d3e

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

pkg/ccl/telemetryccl/telemetry_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ func TestTelemetry(t *testing.T) {
2222
skip.UnderRace(t, "takes >1min under race")
2323
skip.UnderDeadlock(t, "takes >1min under deadlock")
2424

25+
skip.WithIssue(t, 152123)
26+
2527
sqltestutils.TelemetryTest(
2628
t,
2729
[]base.TestServerArgs{

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
}

pkg/cmd/roachtest/tests/ts_util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func sumCounterIncreases(dataPoints []tspb.TimeSeriesDatapoint) (sum float64) {
9191
sum += dataPoints[i].Value
9292
continue
9393
}
94-
sum += dataPoints[i].Value - dataPoints[0].Value
94+
sum += dataPoints[i].Value - dataPoints[i-1].Value
9595
}
9696
return sum
9797
}

0 commit comments

Comments
 (0)