Skip to content

Commit 6f1f2ba

Browse files
committed
roachtest: Add TPC-C 1000 WH nowait test
We currently have a TPC-C nowait test in roachperf, but it's a one warehouse test, which isn't very realistic. This commit adds a more realistic test where we won't be contending on a single warehouse. Epic: none Release note: none
1 parent 896ba42 commit 6f1f2ba

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

pkg/cmd/roachtest/tests/tpcc.go

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -740,6 +740,25 @@ func registerTPCC(r registry.Registry) {
740740
},
741741
})
742742

743+
r.Add(registry.TestSpec{
744+
Name: "tpcc-nowait/w=1000/nodes=5/cpu=16",
745+
Owner: registry.OwnerTestEng,
746+
Benchmark: true,
747+
Cluster: r.MakeClusterSpec(6, spec.CPU(16), spec.WorkloadNode()),
748+
CompatibleClouds: registry.AllExceptAzure,
749+
Suites: registry.Suites(registry.Nightly),
750+
TestSelectionOptOutSuites: registry.Suites(registry.Nightly),
751+
Run: func(ctx context.Context, t test.Test, c cluster.Cluster) {
752+
runTPCC(ctx, t, t.L(), c, tpccOptions{
753+
Warehouses: 1000,
754+
Duration: 10 * time.Minute,
755+
ExtraRunArgs: "--wait=false --tolerate-errors --workers=200",
756+
SetupType: usingImport,
757+
DisableDefaultScheduledBackup: true,
758+
})
759+
},
760+
})
761+
743762
r.Add(registry.TestSpec{
744763
Name: "tpcc-nowait/nodes=3/w=1",
745764
Owner: registry.OwnerTestEng,

0 commit comments

Comments
 (0)