Skip to content

Commit

Permalink
Merge pull request cockroachdb#124054 from cockroachdb/blathers/backp…
Browse files Browse the repository at this point in the history
…ort-release-24.1-124037

release-24.1: rangefeed: deflake TestDBClientScan
  • Loading branch information
nvanbenschoten committed May 13, 2024
2 parents 0b07b41 + e82eec6 commit 285bad7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/kv/kvclient/rangefeed/db_adapter_external_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ package rangefeed_test

import (
"context"
"slices"
"sync/atomic"
"testing"

Expand Down Expand Up @@ -61,7 +62,7 @@ func TestDBClientScan(t *testing.T) {

beforeAny := db.Clock().Now()

scratchKey := append(ts.Codec().TenantPrefix(), keys.ScratchRangeMin...)
scratchKey := slices.Clip(append(ts.Codec().TenantPrefix(), keys.ScratchRangeMin...))
_, _, err := srv.StorageLayer().SplitRange(scratchKey)
require.NoError(t, err)

Expand Down

0 comments on commit 285bad7

Please sign in to comment.