diff --git a/pkg/cmd/roachtest/test_impl.go b/pkg/cmd/roachtest/test_impl.go index 787aa974d4d2..853c42d502b1 100644 --- a/pkg/cmd/roachtest/test_impl.go +++ b/pkg/cmd/roachtest/test_impl.go @@ -333,7 +333,7 @@ func (t *testImpl) addFailure(format string, args ...interface{}) { if format == "" { format = strings.Repeat(" %v", len(args))[1:] } - reportFailure := newFailure(errors.NewWithDepthf(1, format, args...), collectErrors(args)) + reportFailure := newFailure(errors.NewWithDepthf(2, format, args...), collectErrors(args)) t.mu.Lock() defer t.mu.Unlock() diff --git a/pkg/cmd/roachtest/tests/follower_reads.go b/pkg/cmd/roachtest/tests/follower_reads.go index d5ce8de75df8..dfddb7a3316d 100644 --- a/pkg/cmd/roachtest/tests/follower_reads.go +++ b/pkg/cmd/roachtest/tests/follower_reads.go @@ -512,7 +512,7 @@ func initFollowerReadsDB( const q2 = ` SELECT count(distinct substring(unnest(replica_localities), 'region=([^,]*)')) - FROM [SHOW RANGES FROM TABLE test]` + FROM [SHOW RANGES FROM TABLE test.test]` var distinctRegions int require.NoError(t, db.QueryRowContext(ctx, q2).Scan(&distinctRegions)) diff --git a/pkg/cmd/roachtest/tests/network.go b/pkg/cmd/roachtest/tests/network.go index d00dd33b749d..3f9a5d9e09ba 100644 --- a/pkg/cmd/roachtest/tests/network.go +++ b/pkg/cmd/roachtest/tests/network.go @@ -140,7 +140,7 @@ SELECT $1::INT = ALL ( SELECT lease_holder FROM [SHOW CLUSTER RANGES WITH TABLES, DETAILS] WHERE (start_key = '/System/NodeLiveness' AND end_key = '/System/NodeLivenessMax') - OR (table_name IN ('users', 'role_members', 'role_options') + OR (table_name IN ('users', 'role_members', 'role_options')) )` t.L().Printf("SQL: %s", waitLeases) require.NoError(t, db.QueryRow(waitLeases, expectedLeaseholder).Scan(&ok))