Skip to content

Commit

Permalink
c2c: add c2c/tpcc/warehouses=1000/duration=60/cutover=30 roachtest
Browse files Browse the repository at this point in the history
Epic: none

Release note: none
  • Loading branch information
msbutler committed Feb 27, 2023
1 parent d4abde8 commit 4610bc6
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions pkg/cmd/roachtest/tests/cluster_to_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ func (cc *c2cSetup) startStatsCollection(
if err != nil {
t.L().Errorf("Could not query prom %s", err.Error())
}
// TODO(msbutler): update the CollectPoint api to conduct the sum in Prom instead.
metricSnap[name] = sumOverLabel(point, stat.LabelName)
t.L().Printf("%s: %.2f", name, metricSnap[name])
}
Expand Down Expand Up @@ -408,6 +409,21 @@ func registerClusterToCluster(r registry.Registry) {
additionalDuration: 10 * time.Minute,
cutover: 5 * time.Minute,
},
{
name: "c2c/tpcc/warehouses=1000/duration=60/cutover=30",
srcNodes: 4,
dstNodes: 4,
cpus: 8,
pdSize: 1000,
// 500 warehouses adds 30 GB to source
//
// TODO(msbutler): increase default test to 1000 warehouses once fingerprinting
// job speeds up.
workload: replicateTPCC{warehouses: 1000},
timeout: 3 * time.Hour,
additionalDuration: 60 * time.Minute,
cutover: 30 * time.Minute,
},
{
name: "c2c/kv0",
srcNodes: 3,
Expand Down

0 comments on commit 4610bc6

Please sign in to comment.