Skip to content

Commit 30e9c52

Browse files
committed
roachtest: skip sysbench profiles if using roachtest
This would fail.
1 parent 32b9329 commit 30e9c52

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkg/cmd/roachtest/tests/sysbench.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,12 @@ func runSysbench(ctx context.Context, t test.Test, c cluster.Cluster, opts sysbe
264264
return err
265265
}
266266

267+
// The remainder of this method collects profiles and applies only to CRDB,
268+
// so exit early if benchmarking postgres.
269+
if opts.usePostgres {
270+
return nil
271+
}
272+
267273
t.Status("running 75 second workload to collect profiles")
268274
{
269275
// We store profiles in the perf directory. That way, they're not zipped

0 commit comments

Comments
 (0)