Skip to content

Commit

Permalink
sql: deflake TestValidationWithProtectedTS
Browse files Browse the repository at this point in the history
This test does not work if ranges get split, so we disable the split
queue.

Release note: None
  • Loading branch information
rafiss committed Sep 17, 2024
1 parent 7de9aca commit 9cb541d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/sql/backfill_protected_timestamp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ func TestValidationWithProtectedTS(t *testing.T) {
SQLEvalContext: &eval.TestingKnobs{
ForceProductionValues: true,
},
Store: &kvserver.StoreTestingKnobs{
DisableSplitQueue: true,
},
SQLExecutor: &sql.ExecutorTestingKnobs{
BeforeExecute: func(ctx context.Context, sql string, descriptors *descs.Collection) {
if indexScanQuery.MatchString(sql) {
Expand Down

0 comments on commit 9cb541d

Please sign in to comment.