Skip to content

Commit

Permalink
Revert "kvserver: deflake large unsplittable range test"
Browse files Browse the repository at this point in the history
This reverts commit 9d4a50c.
  • Loading branch information
kvoli committed Oct 30, 2023
1 parent 785ae93 commit f2b7f9b
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions pkg/kv/kvserver/replicate_queue_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1811,21 +1811,6 @@ func TestLargeUnsplittableRangeReplicate(t *testing.T) {
toggleReplicationQueues(tc, true /* active */)
toggleSplitQueues(tc, true /* active */)

// Check that the two ranges exist for table t.
testutils.SucceedsSoon(t, func() error {
r := db.QueryRow(
"SELECT count(*) FROM [SHOW RANGES FROM TABLE t]")
var count int
if err := r.Scan(&count); err != nil {
return err
}
if count != 2 {
return fmt.Errorf(
"splits not created, expected %d ranges, found %d", 2, count)
}
return nil
})

// We're going to create a large row, but now large enough that write
// back-pressuring kicks in and refuses it.
var sb strings.Builder
Expand Down

0 comments on commit f2b7f9b

Please sign in to comment.