Skip to content

Commit 06b8fa9

Browse files
committed
sql: fix TestSQLStatsCompactor flaky test
This patch disables auto split ranges for the test because it causes extra wide scan to be counted by `kvInterceptor`. Release note: None
1 parent 89040b4 commit 06b8fa9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/sql/sqlstats/persistedsqlstats/compaction_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ func TestSQLStatsCompactor(t *testing.T) {
141141
},
142142
},
143143
Store: &kvserver.StoreTestingKnobs{
144-
TestingRequestFilter: kvInterceptor.intercept,
144+
TestingRequestFilter: kvInterceptor.intercept,
145+
DisableLoadBasedSplitting: true,
145146
},
146147
},
147148
},

0 commit comments

Comments
 (0)