Skip to content

Commit 260ed7a

Browse files
author
Andrew Baptist
committed
roachtest: increase the concurrency for gracefuldraining
Previously the workload concurrency of 8 could cause spurious test failures as the test would incorrectly count a single slow range as causing too large of a dip. This isn't ideal behavior as we should have more stable performance over time, but this is orthogonal to the goal of this test. With a higher concurrency this test doesn't flake anymore. Epic: none Fixes: cockroachdb#106490 Release note: None
1 parent cf30717 commit 260ed7a

File tree

1 file changed

+1
-1
lines changed
  • pkg/cmd/roachtest/tests

1 file changed

+1
-1
lines changed

pkg/cmd/roachtest/tests/kv.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ func registerKVGracefulDraining(r registry.Registry) {
558558
desiredRunDuration := 5 * time.Minute
559559
m.Go(func(ctx context.Context) error {
560560
cmd := fmt.Sprintf(
561-
"./cockroach workload run kv --duration=%s --read-percent=0 --max-rate=%d {pgurl:1-%d}",
561+
"./cockroach workload run kv --duration=%s --read-percent=0 --concurrency=100 --max-rate=%d {pgurl:1-%d}",
562562
desiredRunDuration, specifiedQPS, nodes-1)
563563
t.WorkerStatus(cmd)
564564
defer func() {

0 commit comments

Comments
 (0)