Skip to content

Commit 5f370be

Browse files
committed
roachtest: deflake splits/load/ycsb/e
This test has a long history of flakes. The main reason is that at the first couple of minutes of the test, there many splits could happen because of the init phase of the workload increases the CPU and it has many inserts. However, for the remainder of the test, the workload is mostly scans, and that shouldn't cause many splits. This commit increases the maximumRanges allowed by 2. We ~recently increased it to the current number and saw almost now flakes, so increasing it by 2 should hopefully be enough. In the future, if we see many flakes of this nature. I think we should ignore the splits that happen in the first 2 minutes of the test, and focus on the fact that the splits in the remained of the test are minimal. Fixes: #149516 Release Note: None
1 parent dde85f8 commit 5f370be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmd/roachtest/tests/split.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ func registerLoadSplits(r registry.Registry) {
409409
// YCSB/E has a zipfian distribution with 95% scans (limit 1k) and 5%
410410
// inserts.
411411
minimumRanges: 5,
412-
maximumRanges: 30,
412+
maximumRanges: 32,
413413
initialRangeCount: 2,
414414
load: ycsbSplitLoad{
415415
workload: "e",

0 commit comments

Comments
 (0)