Skip to content

Commit

Permalink
roachtest: use correct warehouse number in import
Browse files Browse the repository at this point in the history
In 0a94874 we introduced a bug which
hard-coded that we'd always use 1 warehouse in tpcc import roachtests.
This is now fixed.

Release note: None
  • Loading branch information
yuzefovich committed Dec 19, 2024
1 parent 3b6f3c6 commit c06ba73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/roachtest/tests/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func registerImportTPCC(r registry.Registry) {
} else {
defer hc.Done()
}
cmd := fmt.Sprintf(workloadStr, 1)
cmd := fmt.Sprintf(workloadStr, warehouses)
// Tick once before starting the import, and once after to capture the
// total elapsed time. This is used by roachperf to compute and display
// the average MB/sec per node.
Expand Down

0 comments on commit c06ba73

Please sign in to comment.